Re: [Matplotlib-users] plotting problems in qt4agg backend on Mac OS X

2009-07-18 Thread jan_strube
Hi Jouni, Jouni K. Seppänen wrote: > > jan_strube writes: > > 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 inter

Re: [Matplotlib-users] plotting problems in qt4agg backend on Mac OS X

2009-07-18 Thread Jouni K . Seppänen
jan_strube 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 t

Re: [Matplotlib-users] plotting problems in qt4agg backend on Mac OS X

2009-07-17 Thread jan_strube
Hi Jouni, Jouni K. Seppänen wrote: > > How about axhline? > Yes! That's what I wanted. Thanks. >> The eps doesn't get filled with the correct colors, and the pdf and >> the svg don't work at all. > > But there is a pdf file at > > https://jstrube.web.cern.ch/jstrube/matplotlib_testcase/l

Re: [Matplotlib-users] plotting problems in qt4agg backend on Mac OS X

2009-07-17 Thread Jouni K . Seppänen
Jan Strube writes: > The png roughly looks like I would expect (although I can't figure out > how to plot a straight black horizontal line at y=0. pylab.plot > doesn't seem to do what I want) How about axhline? > The eps doesn't get filled with the correct colors, and the pdf and > the svg don'

[Matplotlib-users] plotting problems in qt4agg backend on Mac OS X

2009-07-15 Thread Jan Strube
Hi matplotters, I am trying to create an image and save it to pdf. Unfortunately, the result is much different if I save it to pdf, eps or png. I am on Mac OS X 10.4, using qt4 4.5.0 and the qt4agg backend (but the problems also occur with -dmacosx). The plot I am trying to make is an overl