Re: [Matplotlib-users] problem with set in current svn HEAD

2007-08-17 Thread Johann Cohen-Tanugi
:33 +0200 > From: "Matthieu Brucher" <[EMAIL PROTECTED]> > Subject: Re: [Matplotlib-users] problem with set in current svn HEAD > To: Matplotlib-users@lists.sourceforge.net > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="i

Re: [Matplotlib-users] problem with set in current svn HEAD

2007-08-16 Thread Anthony M. Floyd
Hi! > 0x9c5a8ac>] >>> set(gca(), xticklabels=[]) Traceback (most > recent call last): > File "", line 1, in > TypeError: set() does not take keyword arguments > > Can somebody help me understand what goes wrong here? Python (since the docs were written) now has a built-in type called 'set'.

Re: [Matplotlib-users] problem with set in current svn HEAD

2007-08-16 Thread Matthieu Brucher
Hi, I think you must type : set(gca(), 'xticklabels', []) Matthieu 2007/8/16, Johann Cohen-Tanugi <[EMAIL PROTECTED]>: > > hello, > I must be doing something stupid I am trying to test the snippets of > code in http://matplotlib.sourceforge.net/users_guide_0.90.0.pdf p.29, > and I get : > [E

[Matplotlib-users] problem with set in current svn HEAD

2007-08-16 Thread Johann Cohen-Tanugi
hello, I must be doing something stupid I am trying to test the snippets of code in http://matplotlib.sourceforge.net/users_guide_0.90.0.pdf p.29, and I get : [EMAIL PROTECTED] python]$ python Python 2.5 (r25:51908, Apr 10 2007, 10:29:13) [GCC 4.1.2 20070403 (Red Hat 4.1.2-8)] on linux2 Type