Thanks.  I can confirm this with today's SVN.  I'm looking into the cause.

Mike

On 04/25/2010 07:11 PM, Tom Aldcroft wrote:
> import numpy
> import matplotlib
> matplotlib.use('Agg')
> import matplotlib.pyplot as plt
>
> y = numpy.array([
>   4., 2., 2., 3., 3., 2., 2., 6., 6., 5., 5., 4., 4.,
>   7., 7., 2., 2., 4., 4., 2., 2., 2., 2., 4., 4., 4.,
>   4., 4., 4., 7., 7., 3., 3., 5., 5., 4., 4., 5., 5.,
>   4., 4., 7., 7., 6., 6., 2., 2., 2., 2., 5., 5., 4.,
>   4., 4., 4., 6., 6., 3., 3., 4., 4., 3., 3., 2., 2.,
>   3., 3., 4., 4., 4., 4., 4., 4., 6., 6., 5., 5., 4.,
>   4., 7., 7., 3., 3., 4., 4., 4., 4., 5., 5., 4., 4.,
>   7., 7., 3., 3., 4., 4., 4., 4., 6., 6., 4., 4., 4.,
>   4., 4., 4., 2., 2., 5., 5., 6., 6., 3., 3., 5., 5.,
>   4., 4., 0., 0., 5., 5., 1., 1., 4., 4., 5., 5., 4.])
>
> plt.figure(figsize=(7,4))
> plt.plot(y)
> plt.savefig('test.png')
>
> plt.xlim(-12000, 8274)
> plt.savefig('test_panned.png')
>    


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to