Re: [Matplotlib-users] Easy come easy go

2010-02-18 Thread Gökhan Sever
xtra argument in the call to > save_Figure. > > --Michiel. > > --- On Wed, 2/17/10, John Hunter wrote: > > > From: John Hunter > > Subject: Re: [Matplotlib-users] Easy come easy go > > To: "Michiel de Hoon" > > Cc: matplotlib-users@lists.sou

Re: [Matplotlib-users] Easy come easy go

2010-02-18 Thread Michiel de Hoon
I just uploaded a bugfix to the repository, using *args in all the save_figure methods and removing the extra argument in the call to save_Figure. --Michiel. --- On Wed, 2/17/10, John Hunter wrote: > From: John Hunter > Subject: Re: [Matplotlib-users] Easy come easy go > To: "M

Re: [Matplotlib-users] Easy come easy go

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 7:41 AM, Michiel de Hoon wrote: > An inconsistency in the definition of save_figure between different backends > is causing this problem. > > The GTK backends use >    def save_figure(self, button): > > but the tkagg, qt, qt4, and macosx backends use >    def save_figure(s

Re: [Matplotlib-users] Easy come easy go

2010-02-17 Thread Michiel de Hoon
An inconsistency in the definition of save_figure between different backends is causing this problem. The GTK backends use def save_figure(self, button): but the tkagg, qt, qt4, and macosx backends use def save_figure(self): so without the second argument. The line that is causing the e

Re: [Matplotlib-users] Easy come easy go

2010-02-15 Thread Gökhan Sever
On Sun, Feb 14, 2010 at 10:36 PM, David Arnold wrote: > All, > > This example: > http://matplotlib.sourceforge.net/examples/event_handling/keypress_demo.html > > Raises this exception o my Macbook when the key 's' is pressed: > > The debugged program raised the exception unhandled TypeError > "sav

Re: [Matplotlib-users] Easy come easy go

2010-02-15 Thread Jae-Joon Lee
I cannot reproduce this error both with 0.99.1 maintenance branch and the current svn (with GtkAgg backend). What version of matplotlib and what backend are you using? http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html Regards, -JJ On Sun, Feb 14, 2010 at 11:36 PM, David Arnold wr