File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11Scroll-to-zoom in GUIs
22~~~~~~~~~~~~~~~~~~~~~~
33
4- When a plot manipulation tool (pan or zoom tool) in plot windows is selected ,
5- a mouse scroll operation results in a zoom towards the mouse pointer, keeping the
4+ When a plot manipulation tool (pan or zoom tool) in plot windows is enabled ,
5+ a mouse scroll operation results in a zoom focussing on the mouse pointer, keeping the
66aspect ratio of the axes.
77
88There is no effect if no manipulation tool is selected. This is intentional to
9- keep a state in which accidental manipulation of the plot is excluded .
9+ keep a state in which accidental manipulation of the plot is avoided .
Original file line number Diff line number Diff line change @@ -409,8 +409,8 @@ def button_press_handler(
409409) -> None : ...
410410def scroll_handler (
411411 event : MouseEvent ,
412- canvas : FigureCanvasBase | None = ...,
413- toolbar : NavigationToolbar2 | None = ...,
412+ canvas : FigureCanvasBase | None = ...,
413+ toolbar : NavigationToolbar2 | None = ...,
414414) -> None : ...
415415
416416class NonGuiException (Exception ): ...
You can’t perform that action at this time.
0 commit comments