Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8f14d7 + 3a50190 commit fca7420Copy full SHA for fca7420
1 file changed
lib/matplotlib/widgets.py
@@ -2128,6 +2128,11 @@ def _press(self, event):
2128
# Clear previous rectangle before drawing new rectangle.
2129
self.update()
2130
2131
+ if not self.interactive:
2132
+ x = event.xdata
2133
+ y = event.ydata
2134
+ self.extents = x, x, y, y
2135
+
2136
self.set_visible(self.visible)
2137
2138
def _release(self, event):
0 commit comments