>> I tried to use "edgecolor = 'none'" in a call to bar(), hoping to get no
>> border to the bars, but instead got no bars at all.
>
> Just to note, the documentation does specify a difference between None and
> 'none'.  None means to use the rcdefaults and 'none' means no color at all.
> Is bar() just simply not properly handling the 'none' case?

That's right, yes.  Currently, bar() does not handle the string 'none'
properly; it results in an empty graph.  E.g.:

   bar([1, 2, 3], [12, 13, 14], edgecolor = None)

behaves correctly, giving a bar chart with black-edged blue bars.

   bar([1, 2, 3], [12, 13, 14], edgecolor = 'none')

gives no graph at all.  After the patch, the second call gives the right
result, a bar-chart with border-less blue bars.  Same kind of thing with
the kwarg 'color' instead of 'edgecolor', which is also fixed in my
second recent email.

Hope this clarifies things.  Thanks,

Ben.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to