Re: [Matplotlib-users] Relpos only works once when using FancyArrow for annotation

2011-11-29 Thread Jae-Joon Lee
On Mon, Nov 28, 2011 at 10:49 PM, Jae-Joon Lee wrote: > This is a bug. In the current implementation, "annotate" has a > side-effect that modifies the arrowprops dictionary. For a future reference, this should now be fixed in the v1.1.x branch which also has been merged into the master branch. h

Re: [Matplotlib-users] weird axis tickmark format

2011-11-29 Thread Eric Firing
On 11/29/2011 01:29 PM, Nat Echols wrote: > I'm plotting values that cover a very small range with a relatively > large base, e.g. > > 375.0001 > 375.00025 > 375.0002 > ... > > In practice, the data series hovers at a single value for several > hundred elements in a row, then fluctuates slightly.

[Matplotlib-users] weird axis tickmark format

2011-11-29 Thread Nat Echols
I'm plotting values that cover a very small range with a relatively large base, e.g. 375.0001 375.00025 375.0002 ... In practice, the data series hovers at a single value for several hundred elements in a row, then fluctuates slightly. Initially matplotlib does what I expect, and the Y-axis tick

[Matplotlib-users] plot_date with multiple subplots

2011-11-29 Thread Ed Maurer
I have a short script to plot 20 years of river flow data. I can use the plot_date command to create a plot, using this snippet: f = figure() ax1 = f.add_subplot(111) ax1.plot_date(dates0,y1,'g', label='observed', xdate=True,visible=True) ax1.plot_date(dates1,y2,'r', label='simulated', xdate=True,v

[Matplotlib-users] stretch x-axis

2011-11-29 Thread Neil Berg
Hello all, I am struggling to improve the layout of these subplots. You can see that the x tick labels on the left subplot are crunched. I simply want to stretch the x axis a bit in order to spread out the x ticks. Do you have any suggestions? Thanks! Neil - Here is my code: P.figure(

Re: [Matplotlib-users] [timer] How it works?

2011-11-29 Thread Ryan May
On Tue, Nov 29, 2011 at 4:16 AM, Fabien Lafont wrote: > Hello everyone, > > I don't understand how works TimerBase. > > > > >From matplotlib import backend_bases > > def write(x): >     print x > > backend_bases.TimerBase._timer_start > backend_bases.TimerBase(1000,write(2)) TimerBase is a do-not

[Matplotlib-users] [timer] How it works?

2011-11-29 Thread Fabien Lafont
Hello everyone, I don't understand how works TimerBase. >From matplotlib import backend_bases def write(x): print x backend_bases.TimerBase._timer_start backend_bases.TimerBase(1000,write(2)) It returns only "2" one time. Why it doesn't return 2 every second? Thx in advance, Fab