Re: [Matplotlib-users] Memory leaks in a web application

2009-02-08 Thread Jouni K . Seppänen
A B python6...@gmail.com writes: f = pyplot.figure() When you do this, matplotlib retains a reference to the figure until you close it so that you can go back to it with e.g. figure(4). So add pyplot.close(f) to your script. Or, even better, use the object-oriented API. To get started with

[Matplotlib-users] controlling tick label size

2009-02-08 Thread Alan Jackson
Trying to find a simple way to shrink the tick labels for this plot - since I can have many tiny histograms, the labels need to be smaller, but it isn't obvious to me how to simply shrink them. code snippet... num = len(datasets) fig = plt.figure() rows = np.int(np.sqrt(num)) cols =

Re: [Matplotlib-users] controlling tick label size

2009-02-08 Thread Alan Jackson
Never mind - I just saw the very timely e-mail from Jouni. Thanks! On Sun, 8 Feb 2009 14:16:59 -0600 Alan Jackson a...@ajackson.org wrote: Trying to find a simple way to shrink the tick labels for this plot - since I can have many tiny histograms, the labels need to be smaller, but it isn't

[Matplotlib-users] release candidate

2009-02-08 Thread John Hunter
We have accumulated a number of bug fixes in our stable release branch, so I would like to release the 3rd bugfix release. Please test and report any problems http://matplotlib.sourceforge.net/release-candidates/matplotlib-0.98.5.3.tar.gz Charlie, will you have any time early next week for

[Matplotlib-users] different Locator for opposite axes

2009-02-08 Thread Thomas Robitaille
Hi everyone, I am plotting a figure where I need two independent x axes and two independent y axes. I've tried to use both twinx and twiny at the same time, and this works to some extent, but it looks like it is plotting the labels for the bottom x axis and the right-hand y axis twice,

Re: [Matplotlib-users] release candidate

2009-02-08 Thread Charlie Moad
Sure. Just send me a note when the src is ready. - Charlie On Sun, Feb 8, 2009 at 3:46 PM, John Hunter jdh2...@gmail.com wrote: We have accumulated a number of bug fixes in our stable release branch, so I would like to release the 3rd bugfix release. Please test and report any problems

Re: [Matplotlib-users] rc params strangeness/error

2009-02-08 Thread Leo Trottier
Hi, Did anyone have any insight on this? Alternatively, anyone know why there has been little uptake on this question ...(apologies that it was accidentally sent twice)? Leo On Tue, Feb 3, 2009 at 11:42 PM, Leo Trottier l...@cogsci.ucsd.edu wrote: Matplotlib 0.98.5.2 Location:

Re: [Matplotlib-users] different Locator for opposite axes

2009-02-08 Thread Jae-Joon Lee
Since you call twinx then twiny, you're creating two additional axes, not one. And I guess this is why labels are drawn twice. You may do def twin(ax): ax2 = ax.figure.add_axes(ax.get_position(True), frameon=False) ax2.yaxis.tick_right()

[Matplotlib-users] title pad?

2009-02-08 Thread C M
Is there anything like a title pad, similar to the xaxis.LABELPAD? I'd like to see if the plot would look better with the title a bit higher off the plot. Thanks, Che -- Create and Deploy Rich Internet Apps outside the

Re: [Matplotlib-users] title pad?

2009-02-08 Thread Jae-Joon Lee
As far as I know, there is no user settable attribute. But something like below will work. ax = gca() title(My title) ax.titleOffsetTrans._t = (0., 10.0/72.) # x, y offset in points/72. default is (0., 5/72.) ax.titleOffsetTrans.invalidate() draw() Alternatively, you may use