Re: [Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-25 Thread John Hunter
 Samuel == Samuel M Smith [EMAIL PROTECTED] writes:

Samuel I have the same problem

Did you notice my response then?  

John  This is a bug -- thanks for reporting it.  I just committed
John changes to svn to fix it.

Ie, it is a bug that is fixed and you must use the svn version of
matplotlib .

JDH

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-09 Thread Marcel Oliver
Hi, I am running some code which used to work a couple of months ago,
but now fails on the axis command which does not seem to accept
keyword arguments any longer (current version 0.87.7 from Fedora
Extras, previous version probably 0.87.4 or so).  Traceback is
below...

Any ideas?

Thanks,
Marcel


/home/marcel/src/python/advection/paper1/colonius.py in colonius(Q, full)
 93 figure ()
 94 xlabel (r'$\xi$')
--- 95 axis (xmin=0, xmax=pi)
 96 plot (xxiplot, omega(xxiplot), k-,
 97   xxiplot, dwdxi (xxiplot), k--,

/usr/lib/python2.4/site-packages/matplotlib/pylab.py in axis(*v, **kwargs)
622 
623 ax = gca()
-- 624 v = ax.axis(*v, **kwargs)
625 draw_if_interactive()
626 return v

/usr/lib/python2.4/site-packages/matplotlib/axes.py in axis(self, *v, **kwargs)
775 except IndexError:
776 xmin, xmax = self.set_xlim(**kwargs)
-- 777 ymin, ymax = self.set_ylim(**kwargs)
778 return xmin, xmax, ymin, ymax
779 

TypeError: set_ylim() got an unexpected keyword argument 'xmin'
WARNING: Failure executing file: colonius.py


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-09 Thread Eric Firing
It is a bug.  I don't know how or when it was introduced.  I can fix it 
in svn later today.

Eric

Marcel Oliver wrote:
 Hi, I am running some code which used to work a couple of months ago,
 but now fails on the axis command which does not seem to accept
 keyword arguments any longer (current version 0.87.7 from Fedora
 Extras, previous version probably 0.87.4 or so).  Traceback is
 below...
 
 Any ideas?
 
 Thanks,
 Marcel
 
 
 /home/marcel/src/python/advection/paper1/colonius.py in colonius(Q, full)
  93 figure ()
  94 xlabel (r'$\xi$')
 --- 95 axis (xmin=0, xmax=pi)
  96 plot (xxiplot, omega(xxiplot), k-,
  97   xxiplot, dwdxi (xxiplot), k--,
 
 /usr/lib/python2.4/site-packages/matplotlib/pylab.py in axis(*v, **kwargs)
 622 
 623 ax = gca()
 -- 624 v = ax.axis(*v, **kwargs)
 625 draw_if_interactive()
 626 return v
 
 /usr/lib/python2.4/site-packages/matplotlib/axes.py in axis(self, *v, 
 **kwargs)
 775 except IndexError:
 776 xmin, xmax = self.set_xlim(**kwargs)
 -- 777 ymin, ymax = self.set_ylim(**kwargs)
 778 return xmin, xmax, ymin, ymax
 779 
 
 TypeError: set_ylim() got an unexpected keyword argument 'xmin'
 WARNING: Failure executing file: colonius.py
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-09 Thread John Hunter
 Marcel == Marcel Oliver [EMAIL PROTECTED] writes:

Marcel TypeError: set_ylim() got an unexpected keyword argument
Marcel 'xmin' WARNING: Failure executing file: colonius.py

This is a bug -- thanks for reporting it.  I just committed changes to
svn to fix it.

JDH

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users