|
From: <jd...@us...> - 2010-07-05 01:27:00
|
Revision: 8493
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8493&view=rev
Author: jdh2358
Date: 2010-07-05 01:26:53 +0000 (Mon, 05 Jul 2010)
Log Message:
-----------
Applied Ben's rotate button patch for axes3d
Modified Paths:
--------------
trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py
Modified: trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py
===================================================================
--- trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py 2010-07-05 01:25:09 UTC (rev 8492)
+++ trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py 2010-07-05 01:26:53 UTC (rev 8493)
@@ -446,7 +446,7 @@
if self.M is None:
return ''
- if self.button_pressed == 1:
+ if self.button_pressed in self._rotate_btn:
return 'azimuth=%d deg, elevation=%d deg ' % (self.azim, self.elev)
# ignore xd and yd and display angles instead
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|