Skip to content

Commit efb5db8

Browse files
committed
Applied Ben's rotate button patch for axes3d
svn path=/trunk/matplotlib/; revision=8493
1 parent b7e3535 commit efb5db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def format_coord(self, xd, yd):
446446
if self.M is None:
447447
return ''
448448

449-
if self.button_pressed == 1:
449+
if self.button_pressed in self._rotate_btn:
450450
return 'azimuth=%d deg, elevation=%d deg ' % (self.azim, self.elev)
451451
# ignore xd and yd and display angles instead
452452

0 commit comments

Comments
 (0)