Re: [Matplotlib-users] Control of thread/program not returning to ipython after creating a plot.

2010-11-18 Thread Collin Day
So I tried updating and rebuilding Matplotlib - no luck - something (at least on my system) is goofy with the GTK(Agg),WX(Agg), and Fltk(Agg) backends. But the TkAgg backend works great. So I will stick with that, but if anyone else sees this problem and it becomes an issue, I'd be happy to help

[Matplotlib-users] set font properties for colorbar

2010-11-18 Thread John
Hello, I see that for a legend you can do the following: ax = plt.scatter(x,y,label='test data') p_leg = mpl.font_manager.FontProperties(size='8') ax.legend(prop=p_leg) But, how do you do set font properties for the colorbar tick labels? Thanks!

Re: [Matplotlib-users] Possible memory leak?

2010-11-18 Thread Robert Kern
On 11/18/10 5:05 PM, John Hunter wrote: > On Thu, Nov 18, 2010 at 2:20 PM, Benjamin Root wrote: > >> Interesting analysis. One possible source of a leak would be some sort of >> dangling reference that still hangs around even though the plot objects have >> been cleared. By the time of the matpl

Re: [Matplotlib-users] Possible memory leak?

2010-11-18 Thread John Hunter
On Thu, Nov 18, 2010 at 2:20 PM, Benjamin Root wrote: > Interesting analysis.  One possible source of a leak would be some sort of > dangling reference that still hangs around even though the plot objects have > been cleared.  By the time of the matplotlib 1.0.0 release, we did seem to > clear ou

Re: [Matplotlib-users] Possible memory leak?

2010-11-18 Thread Benjamin Root
On Thu, Nov 18, 2010 at 1:11 PM, Caleb Constantine wrote: > Matplotlib Users: > > It seems matplotlib plotting has a relatively small memory leak. My > experiments suggest it leaks between 5K and 8K bytes of RAM for ever plot > redraw. For example, in one experiment, plotting the same buffer (so a

[Matplotlib-users] Possible memory leak?

2010-11-18 Thread Caleb Constantine
Matplotlib Users: It seems matplotlib plotting has a relatively small memory leak. My experiments suggest it leaks between 5K and 8K bytes of RAM for ever plot redraw. For example, in one experiment, plotting the same buffer (so as to not allocate new memory) every second for a period of about 12

[Matplotlib-users] date plot with two y axes...and some other things

2010-11-18 Thread C M
Goals: date plot with two y axes (plotting completely different things) point picking and point labeling As many lines as user wants, all colored differently. Having some problems with this. (matplotlib 0.98.5) 1) There is a known bug with twinx() and plot_date: http://

[Matplotlib-users] colorbar settings with a object oriented approach (or mixed pyplot)

2010-11-18 Thread John
Folks, I was trying to use an object oriented approach to creating colorbars, but I could manage to make it work. Currently I have close to what I am trying to achieve, but the last bits are missing. The outstanding issues are: 1) I only need one colorbar, how would I create a single colorbar on t

Re: [Matplotlib-users] Unknown projection '3d' even with svn version?

2010-11-18 Thread Eric Emsellem
Ok problem(s) solved, thanks a lot for the efficient help (this also taught me how to go through the code more thoroughly) * for the record: I had a pylab.py in the site-packages directory, probably a left-over from some other installation, which was interfering with the pylab.py which should b