On Nov 9, 2007 8:45 AM, Darren Dale <[EMAIL PROTECTED]> wrote:

> I think it has not been resolved. I am not so familiar with the mpl's color
> handling code, and I need to turn to "official business" for the rest of the
> day. John or Eric, do you have time to look into this? The string 'None' is
> supposedly a valid argument, but:

I committed changes to svn to add support for face and edgecolor =
'None' for Patch and derived.  This still doesn't solve the problem
comprehensively across all artists, which would probably require the
backends to support a None value for the foreground color, but this
would take a fair amount of work (eg logs of get_rgb calls in
backend_ps would have to be fixed) so for now I put on a bandaid and
added support for patches, which allows you do pass edgecolor='None'
to savefig.

I did this by setting the gc linewidth to zero if edgecolor='None',
which should be supported by all backends (in mpl linewidth=0 means no
line, different from postscript where it means the thinnest possible
line) but if you find that it isn't, let us know.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to