Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e34f406

Browse files
Update lib/matplotlib/testing/widgets.py
Co-Authored-By: Elliott Sales de Andrade <[email protected]>
1 parent e83e0b4 commit e34f406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def do_event(tool, etype, button=1, xdata=0, ydata=0, key=None, step=1):
4444
event.button = button
4545
ax = tool.ax
4646
event.x, event.y = ax.transData.transform([(xdata, ydata),
47-
(xdata, ydata)])[00]
47+
(xdata, ydata)])[0]
4848
event.xdata, event.ydata = xdata, ydata
4949
event.inaxes = ax
5050
event.canvas = ax.figure.canvas

0 commit comments

Comments
 (0)