Re: [Matplotlib-users] plotting an arrow outside of the plot does not work any more

2010-09-05 Thread Stan Schymanski
This worked great, thanks so much for your help! Cheers Stan On 8/29/10 2:29 AM, Jae-Joon Lee wrote: > I just remembered that there has been a bug in old version of > matplotlib that annotation_clip parameter is not correctly set when > given as a keyword parameter of "annotate" function. The bug

Re: [Matplotlib-users] plotting an arrow outside of the plot does not work any more

2010-08-28 Thread Stan Schymanski
ab.annotate('',(-1,3.1),(0,3.1),va='center',ha='center', > arrowprops=dict(arrowstyle='<->'), annotation_clip=False) > > Regards, > > -JJ > > > On Fri, Aug 27, 2010 at 9:21 PM, Stan Schymanski > wrote: >

[Matplotlib-users] plotting an arrow outside of the plot does not work any more

2010-08-27 Thread Stan Schymanski
Dear all, I don't know which update it was that broke it, but this used to work: import numpy import pylab pylab.clf() fig = pylab.figure(1,figsize=(8,5)) ax = fig.add_subplot(111, autoscale_on=False, xlim=(-1,5), ylim=(-4,3)) t = numpy.arange(0.0, 5.0, 0.01) s = numpy.cos(2*numpy.pi*t) line, =