[Matplotlib-users] pick_event returning wrong indices

2010-10-28 Thread Ryan dale
Here's a problem that's been driving me nuts, and I finally reduced it to a small self-contained script which can be found at http://gist.github.com/642538. The issue is that the pick_event does not always provide the correct index into the plotted data. In case this script only bugs out on my

[Matplotlib-users] show Z data for contour plots

2008-05-18 Thread Ryan Dale
When I create a plot with contourf(X,Y,Z) the X and Y data are displayed in text (as usual) in the lower right-hand corner of the figure window. Is there a way to report the Z data as well? thanks, -Ryan - This SF.net ema

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-28 Thread Ryan Dale
Chris Withers wrote: >> So, basically make the x axis time instead of numbers. >> I think the problem is actually that the daets are quite long in their >> format. If they were rotated through 90 degress it'd likely be fine. >> How would I do this? > > I'm not sure it is the easiest way, but it wo

Re: [Matplotlib-users] dynamic_collections.py example not working in SVN?

2008-03-24 Thread Ryan Dale
I got the example working (svn diff below). Should Collection objects have a set_offsets method? -Ryan Index: dynamic_collection.py === --- dynamic_collection.py (revision 5020) +++ dynamic_collection.py (working copy)

[Matplotlib-users] dynamic_collections.py example not working in SVN?

2008-03-17 Thread Ryan Dale
Hi, I tried to run the dynamic_collections.py example in the source directory (SVN revision 5002) but got the following error: Traceback (most recent call last): File "dynamic_collection.py", line 23, in transOffset = ax.transData, TypeError: __init__() got multiple values for keyword ar