[matplotlib-devel] running the tests

2011-05-10 Thread butterw
I've been trying to run the matplotlib test suite but the docs seem incomplete on this subject. http://matplotlib.github.com/devel/coding_guide.html#running-the-tests Running the tests is simple. Make sure you have nose installed and type from within Python: import matplotlib matplotlib.tes

Re: [matplotlib-devel] Constrained zoom to x axis broken ?

2011-04-17 Thread butterw
:14pm :: Rate this Message: - Use ratings to moderate (?) Reply | Print | View Threaded | Show Only this Message On 04/17/2011 07:59 AM, Eric Firing wrote: On 04/16/2011 08:44 PM, butterw@... wrote: > > http://matplotlib.sourceforge.net/users/navigation_toolbar.html Constrained zoom to

[matplotlib-devel] Constrained zoom to x axis broken ?

2011-04-16 Thread butterw
> http://matplotlib.sourceforge.net/users/navigation_toolbar.html Constrained zoom to x axis (hold x key + left click zoom icon) is broken for me with master. Tested with TkAgg, Qt4Agg backend features was working on mpl 1.0.0 ---

[matplotlib-devel] handling of histograms

2011-04-16 Thread butterw
hist(range(10)) creates a list of rectangles in ax.patches. With the current implementation, is it possible to modify (change the label, hide, delete or change the color) of a plotted histogram in a single command ? As currently there is no histogram object, it looks like you have to chang

[matplotlib-devel] Last object added to the plot

2011-04-03 Thread butterw
Hi, Does matplotlib keep track of the last object added to the plot axes or its nature (line, text, collection, patch, etc.) ? If not, would it be feasible to implement something like this in matplotlib ? This could be useful for interactive plotting, as it would allow a simple undo featu

Re: [matplotlib-devel] Backend for Pyside

2011-03-28 Thread butterw
Looking forward, supporting the Python 3 compatible PyQt API is likely the way to go. Le , Gerald Storer a écrit : On 28/03/2011 1:10 AM, Peter Butterworth wrote: Wouldn't it be possible to use a single backend compatible with both PyQt and Pyside ? The current Qt mpl backend uses t

Re: [matplotlib-devel] some issues with legend

2011-01-31 Thread butterw
Le , Jae-Joon Lee a écrit : On Sun, Jan 30, 2011 at 10:32 PM, Peter Butterworth butt...@gmail.com> wrote: > here are some observations on the mpl legend operation: > leg = ax.get_legend() #0 OK. but the recommended way to update a > legend seems to be using #1 ? > leg = ax.legend() #1 OK >

Re: [matplotlib-devel] Toolbar button for relimiting

2010-09-27 Thread butterw
a few comments: One possible limitation of the proposed relim code is that it doesn't take into account whether the lines are set visible or not. But otherwise it is a useful function for interactive use, which incidentally is the way I use matplotlib the most. Is there any reason why matplotl

Re: [matplotlib-devel] Named figures support

2010-09-12 Thread butterw
Le 12 sept. 2010 18:08, Benjamin Root a écrit : That would be a neat feature. Which other backends have you tested? I presume that numbers still work as usual? Ben Root I've tested it on TkAgg and Qt4Agg which are the only backends I use. Numbers should be working just as before. The p

Re: [matplotlib-devel] should set_xlim turn off x autoscaling?

2010-06-29 Thread butterw
he default behaviour. efiring wrote: > > On 06/28/2010 04:42 PM, butterw wrote: >> >> Rather than changing the existing xlim, it would be better to create a >> new >> command xlim2 with the desired behaviour (if needed). > > Why, specifically in this

Re: [matplotlib-devel] should set_xlim turn off x autoscaling?

2010-06-28 Thread butterw
Rather than changing the existing xlim, it would be better to create a new command xlim2 with the desired behaviour (if needed). efiring wrote: > > The present behavior of set_xlim and set_ylim can be surprising because > making the values stick for subsequent plotting in the same axes > req