Re: [Matplotlib-users] pls help: error using set(gca(),...)

2008-04-30 Thread samwo
Thank you all for your help. Regards, Sam Matthias Michler wrote: Hi Sam, On Monday 28 April 2008 05:09:36 samwo wrote: Hi. I run these codes in ipython command line interface. from pylab import * subplot(211) plot([1,2,3],[1,2,3]) There is a small typo (or a wrong method):

[Matplotlib-users] pls help: error using set(gca(),...)

2008-04-29 Thread samwo
Hi. I run these codes in ipython command line interface. from pylab import * subplot(211) plot([1,2,3],[1,2,3]) set(gca(), xtickslabel = []) and got the error saying Type error: set() does not take keyword arguments My OS is windows XP. The code I used is copied from matplotlib tutorial. Pls

Re: [Matplotlib-users] pls help: error using set(gca(),...)

2008-04-29 Thread Matthias Michler
Hi Sam, On Monday 28 April 2008 05:09:36 samwo wrote: Hi. I run these codes in ipython command line interface. from pylab import * subplot(211) plot([1,2,3],[1,2,3]) There is a small typo (or a wrong method): set(gca(), xtickslabel = []) needs to be setp(gca(), xticklabels = []) and

Re: [Matplotlib-users] pls help: error using set(gca(),...)

2008-04-29 Thread John Hunter
On Sun, Apr 27, 2008 at 10:09 PM, samwo [EMAIL PROTECTED] wrote: Hi. I run these codes in ipython command line interface. from pylab import * subplot(211) plot([1,2,3],[1,2,3]) set(gca(), xtickslabel = []) set is a python built-in (the mathematical set) and matplotlib now uses setp