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.
1 parent 9c49c6a commit 1b3a180Copy full SHA for 1b3a180
lib/matplotlib/tests/test_widgets.py
@@ -90,7 +90,7 @@ def onselect(epress, erelease):
90
91
if kwargs.get('drawtype', None) not in ['line', 'none']:
92
assert_allclose(tool.geometry,
93
- [[100., 100, 199, 199, 100],
+ [[100., 100, 199, 199, 100],
94
[100, 199, 199, 100, 100]],
95
err_msg=tool.geometry)
96
@@ -120,7 +120,7 @@ def onselect(epress, erelease):
120
# drag the rectangle
121
do_event(tool, 'press', xdata=10, ydata=10, button=1,
122
key=' ')
123
-
+
124
do_event(tool, 'onmove', xdata=30, ydata=30, button=1)
125
do_event(tool, 'release', xdata=30, ydata=30, button=1)
126
assert tool.extents == (120, 170, 120, 170)
@@ -453,4 +453,3 @@ def test_polygon_selector():
453
+ polygon_place_vertex(50, 150)
454
+ polygon_place_vertex(50, 50))
455
check_polygon_selector(event_sequence, expected_result, 1)
456
0 commit comments