title: How to make a custom colormap using PyPlot (not matplotlib proper)
body: <p>Working in IJulia. Desperately trying to make a custom colormap.
  Tried the line:</p>
  
  <pre><code>matplotlib.colors.ListedColormap([(1,0,0),(0,1,0),(0,0,1)],"A") 
  </code></pre>
  
  <p>which resulted in the following error</p>
  
  <blockquote>
    <p>type PyObject has no field colors while loading In[16], in expression starting on line 1</p>
  </blockquote>
  
  <p>which apparently means that I cannot use matplotlib directly, but only the functions which are in PyPlot.</p>
  
  <p>I cannot involve matplotlib with an import (as this is invalid in IJulia).
  I have noted that others have had help on similar problems, but that doesn't solve mine.</p>