8000 Improved means of getting figure when fullscreen key is depressed. · matplotlib/matplotlib@74b6489 · GitHub
[go: up one dir, main page]

Skip to content

Commit 74b6489

Browse files
committed
Improved means of getting figure when fullscreen key is depressed.
1 parent 49d58fb commit 74b6489

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,10 +1346,9 @@ def __init__(self, name, canvas, x, y, button=None, key=None,
13461346
self.dblclick = dblclick
13471347

13481348
def __str__(self):
1349-
return ("MPL MouseEvent: xy=(%d,%d) xydata=(%s,%s) button=%d dblclick=%s"
1350-
"inaxes=%s" % (self.x, self.y, str(self.xdata), str(self.ydata),
1351-
self.button, self.dblclick, self.inaxes)
1352-
)
1349+
return ("MPL MouseEvent: xy=(%d,%d) xydata=(%s,%s) button=%d " +
1350+
"dblclick=%s inaxes=%s") % (self.x, self.y, self.xdata,
1351+
self.ydata, self.button, self.dblclick, self.inaxes)
13531352

13541353

13551354
class PickEvent(Event):

0 commit comments

Comments
 (0)
0