When I run the following:
figure(); plot([1,2])
figure(); plot([1,2])
and then I use the zoom widget in one figure, and then try to use the zoom
widget in the other figure without turning off the first zoom widget, I get
an error. Is this desirable?
---------------------------------------------------------------------------
exceptions.ValueError Traceback (most recent
call last)
/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_qt.py in
zoom(self, *args)
305 def zoom( self, *args ):
306 self.buttons[ 'Pan' ].setOn( False )
--> 307 NavigationToolbar2.zoom( self, *args )
308
309 def dynamic_update( self ):
/usr/lib64/python2.4/site-packages/matplotlib/backend_bases.py in zoom(self,
*args)
1564 self._idRelease =
self.canvas.mpl_connect('button_release_event', self.release_zoom)
1565 self.mode = 'Zoom to rect mode'
-> 1566 widgets.lock(self)
1567 else:
1568 #pass
/usr/lib64/python2.4/site-packages/matplotlib/widgets.py in __call__(self, o)
31 'reserve the lock for o'
32 if not self.available(o):
---> 33 raise ValueError('already locked')
34 self._owner = o
35
ValueError: already locked
Darren
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel