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
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:
>
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, =