Hi,

 I've just discover a problem with the pan/zoom tool.
When using the pan/zoom tool (in the toolbar) on a semilogy plot the
zoom does not work correctly.
To visualize the problem launch the small script in attachment press the
pan/zoom button and use the zoom on the x axis direction -> you will see
the button part of the curve directly jumping at the bottom of the graph
  whereas you would expected it not to move...
I evidence this problem using GTKAgg but also with the OSX backend (did
not try other backend).
Matplotlib version is the latest svn on a MacOS X platform.

Thanks in advance,

David
import matplotlib
matplotlib.use('GTKAgg')
from pylab import *

t = arange(0.0, 2.0, 0.01)
s = exp(2*pi*t)
ax = semilogy(t, s, linewidth=1.0)
axis([-1.0, 3.0, 1e-3, 1e7])

xlabel('time (s)')
ylabel('voltage (mV)')
title('About as simple as it gets, folks')
grid(True)
show()
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to