Hi,
I have problems with constrained rectangular zoom to x-y axis with
PyQt4 / PySide backend. When I use the "Zoom-to-rectangle" button of
the navigation toolbar while holding the x or y key, sometimes nothing
happens when the mouse is released. Constrained panning and
pan-zooming ("Pan/Zoom" button) works well.
I used the following dummy code to set up the environment:
import numpy as np
import matplotlib as mpl
if mpl.get_backend() != 'Qt4Agg':
mpl.use('Qt4Agg')
# mpl.rcParams['backend.qt4']='PySide'
# mpl.rcParams['backend.qt4']='PyQt4'
import matplotlib.pyplot as plt
x = np.linspace(0,1)
y = np.random.rand(x.size)
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(x,y)
plt.show()
Looking at the mail archives and the issue tracker gave me no relevant
result. Has anyone experienced a similar issue?
python 2.7.4 win32
matplotlib 1.1.1 and 1.2.1
PyQt4 QtCore 4.8.3
PySide QtCore 4.8.3
PySide 1.1.2
Thanks,
Gregorio