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

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to