Heh, looks more pervasive than just the Tkinter backend, and it isn't just
caused by zooming.  Just moving the image off to the side is enough, and
saving that figure using the "Save" button produces this attached image.

And further testing shows that this occurs if I manually set my limits
before the .show() call and save using .savefig()

Attached is a simple script.

Ben

On Thu, Jul 22, 2010 at 9:14 PM, Benjamin Root <ben.r...@ou.edu> wrote:

> Attached is a screenshot of what I am seeing with the Tkinter backend (I
> haven't tested others).  The lines aren't getting plotted outside the
> zoomed-in region, but the markers are.  I don't recall this happening
> before, but I can't be 100% sure of that.
>
> I am using the latest mpl from SVN.
>
> Ben Root
>

<<attachment: trackimage.png>>

import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(0, 50, 25)
y = np.linspace(0, 35, 25)

fig = plt.figure()
ax = fig.gca()

ax.plot(x, y, marker='.')

ax.set_xlim([5, 45])
ax.set_ylim([2, 30])

plt.show()

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to