Re: [Matplotlib-users] Problem when specifying formatter

2009-10-20 Thread Jae-Joon Lee
On Tue, Oct 20, 2009 at 4:43 PM, Thomas Robitaille wrote: > ax.xaxis.set_major_formatter(NullFormatter) http://matplotlib.sourceforge.net/api/axis_api.html?highlight=set_major_formatter#matplotlib.axis.Axis.set_major_formatter An instance of NullFormatter is needed, instead of the class itself.

Re: [Matplotlib-users] Problem when specifying formatter

2009-10-20 Thread Ryan May
On Tue, Oct 20, 2009 at 3:43 PM, Thomas Robitaille wrote: > Hi, > > I'm not sure what I'm doing wrong here: > > import matplotlib.pyplot as mpl > from matplotlib.ticker import NullFormatter > > fig = mpl.figure() > ax = fig.add_subplot(111) > ax.xaxis.set_major_formatter(NullFormatter) > > This re

[Matplotlib-users] Problem when specifying formatter

2009-10-20 Thread Thomas Robitaille
Hi, I'm not sure what I'm doing wrong here: import matplotlib.pyplot as mpl from matplotlib.ticker import NullFormatter fig = mpl.figure() ax = fig.add_subplot(111) ax.xaxis.set_major_formatter(NullFormatter) This returns the error: Traceback (most recent call last): File "test.py", line 6,