jan_strube <curious...@gmail.com> writes: > File > "/home/jstrube/local//lib64/python2.6/site-packages/matplotlib/backends/backend_pdf.py", > line 1723, in _fillp > (len(self._fillcolor) <= 3 or self._fillcolor[3] != 0.0)) > TypeError: object of type 'NoneType' has no len()
Yes, that looks like a bug. It seems that the hatch support doesn't get a lot of use, so you have run into an edge case that no-one has encountered before. > This is the case not only for the pdf backend, but for the qt4agg backend as > well. Do you mean that saving as pdf from the qt4agg backend causes the same error, or is there a different error raised from that particular backend? When you save as pdf, you (usually) invoke the pdf backend, no matter what interactive backend you use. > Yes, the example works just fine. I am attaching a self-contained example to > reproduce the problem. Thank you for the report and the example! I think I have fixed this for the svg and pdf backends, but the PostScript backend still needs work. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users