Re: [Matplotlib-users] float argument required

2009-03-27 Thread Pau
sorry, problem fixed... I was using linestyle='--', linewidth='7' instead of linestyle='--', linewidth=7 embarrassing ... But matplotlib would not complain when exporting to pdf, nor to png etc... only ps/eps thanks 2009/3/23 Michael Droettboom md...@stsci.edu: Try switching to the Ps

Re: [Matplotlib-users] float argument required

2009-03-23 Thread Jouni K . Seppänen
Pau vim.u...@googlemail.com writes: I have made a plot and, when I try to save it as eps/ps, I get the error float argument required in a pop-up window, whilst the terminal shows this error message: /usr/local/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py:1054: GtkWarning:

Re: [Matplotlib-users] float argument required

2009-03-23 Thread Michael Droettboom
Try switching to the Ps backend by putting: import matplotlib matplotlib.use(ps) at the top of your script. That will take gtk and its popup windows out of the equation. After doing that, you should get a traceback at the terminal that should help narrow this down. At this point we can only

[Matplotlib-users] float argument required

2009-03-22 Thread Pau
Hello, using 0.98.5.2 under OpenBSD -current I have made a plot and, when I try to save it as eps/ps, I get the error float argument required in a pop-up window, whilst the terminal shows this error message: /usr/local/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py:1054: