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 help explain why it didnt work.
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 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 help explain why it didnt work.
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 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 help explain why it didnt work.