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

Re: [Matplotlib-users] drawing points on simplex?

2009-10-20 Thread Jae-Joon Lee
http://www.nabble.com/Re%3A-Three-Phase-Diagrams-with-matplotlib-p25122618.html Maybe this is close to what you want? -JJ On Sun, Oct 18, 2009 at 8:23 PM, per freem wrote: > hi all, > > i would like to draw points on the 3-d simplex, like that of a > dirichlet distribution with 3 parameters.

[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,

Re: [Matplotlib-users] graphs in memory

2009-10-20 Thread bas pigmans
i got that problem solved but i now have a new memory problem, the error i get is invalid command name " *randomnumber*callit" while executing " *randomnumber*callit" ("after" script) searched the internet and found that there is some variable stuck somewhere, here is the def cousing the er

Re: [Matplotlib-users] patchcollection wihtout edgecolor an d gradient filled patches

2009-10-20 Thread VáclavŠmilauer
>p = PatchCollection(patches, alpha = 1.0,cmap = mpl.cm.Blues, >linewidth="0.0",edgecolor="black",linewidth="0.0") The documentation at http://matplotlib.sourceforge.net /api/collections_api.html#matplotlib.collections.PatchCollection has _plurals_ on the kwards (linewidths rather th