We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7fe935 commit cfccfedCopy full SHA for cfccfed
1 file changed
plotpy/tests/unit/utils.py
@@ -95,13 +95,12 @@ def mouse_event_at_relative_plot_pos(
95
"""
96
plot = win.manager.get_plot()
97
canvas = plot.canvas()
98
- canvas_pos, glob_pos = rel_pos_to_canvas_pos(plot, relative_xy)
+ canvas_pos, _ = rel_pos_to_canvas_pos(canvas, relative_xy)
99
100
for type_ in click_types:
101
mouse_event = QG.QMouseEvent(
102
type_,
103
canvas_pos,
104
- # glob_pos,
105
QC.Qt.MouseButton.LeftButton,
106
107
mod,
0 commit comments