diff --git a/doc/_static/ad_lbrt_sliders.jpeg b/doc/_static/ad_lbrt_sliders.jpeg new file mode 100644 index 000000000000..52ef7fe91120 Binary files /dev/null and b/doc/_static/ad_lbrt_sliders.jpeg differ diff --git a/doc/_static/ad_wh_sliders.jpeg b/doc/_static/ad_wh_sliders.jpeg new file mode 100644 index 000000000000..f97bfca31d6f Binary files /dev/null and b/doc/_static/ad_wh_sliders.jpeg differ diff --git a/doc/_static/additional.jpeg b/doc/_static/additional.jpeg new file mode 100644 index 000000000000..eb4ad5eb8d2d Binary files /dev/null and b/doc/_static/additional.jpeg differ diff --git a/doc/_static/back.jpeg b/doc/_static/back.jpeg new file mode 100644 index 000000000000..603fb04c19a3 Binary files /dev/null and b/doc/_static/back.jpeg differ diff --git a/doc/_static/forward.jpeg b/doc/_static/forward.jpeg new file mode 100644 index 000000000000..ae4000c9458d Binary files /dev/null and b/doc/_static/forward.jpeg differ diff --git a/doc/_static/home.jpeg b/doc/_static/home.jpeg new file mode 100644 index 000000000000..4b4ce9f956a4 Binary files /dev/null and b/doc/_static/home.jpeg differ diff --git a/doc/_static/move.jpeg b/doc/_static/move.jpeg new file mode 100644 index 000000000000..2fa5da9b0f6d Binary files /dev/null and b/doc/_static/move.jpeg differ diff --git a/doc/_static/save.jpeg b/doc/_static/save.jpeg new file mode 100644 index 000000000000..e75df3a1ca03 Binary files /dev/null and b/doc/_static/save.jpeg differ diff --git a/doc/_static/zoom.jpeg b/doc/_static/zoom.jpeg new file mode 100644 index 000000000000..da9ded7eb5f6 Binary files /dev/null and b/doc/_static/zoom.jpeg differ diff --git a/galleries/users_explain/figure/interactive.rst b/galleries/users_explain/figure/interactive.rst index 5422fa47bfd2..b081b95f7fe2 100644 --- a/galleries/users_explain/figure/interactive.rst +++ b/galleries/users_explain/figure/interactive.rst @@ -204,6 +204,81 @@ The windows created by :mod:`~.pyplot` have an interactive toolbar with navigati buttons and a readout of the data values the cursor is pointing at. A number of helpful keybindings are registered by default. +UI navigation buttons +--------------------- + +The following table holds description of all GUI buttons. + ++-------------------+----------------------------------------------------------+ +| Button | Description | ++===================+==========================================================+ +| Home/Reset | Moves the plot to the start | +| | position | +| | | +| | .. figure:: /_static/home.jpeg | ++-------------------+----------------------------------------------------------+ +| Back | Moves the plot to the previous | +| | position | +| | | +| | .. figure:: /_static/back.jpeg | ++-------------------+----------------------------------------------------------+ +| Forward | Replays cancelled changes | +| | | +| | .. figure:: /_static/forward.jpeg | ++-------------------+----------------------------------------------------------+ +| Move | Activates the mode of changing | +| | position of the plot relative | +| | to the current axes | +| | | +| | .. figure:: /_static/move.jpeg | ++-------------------+----------------------------------------------------------+ +| Zoom to rectangle | Select area with left mouse button (for mouse users) | +| | or one finger (for touchpad users) to zoom in the plot | +| | | +| | Select area with right mouse button (for mouse users) | +| | or two fingers (for touchpad users) to zoom out the plot | +| | | +| | .. figure:: /_static/zoom.jpeg | ++-------------------+----------------------------------------------------------+ +| Additional | Click on icon "additional" to open additional settings | +| | | +| | .. figure:: /_static/additional.jpeg | +| | | +| | **left, bottom, right, top sliders:** | +| | | +| | .. figure:: /_static/ad_lbrt_sliders.jpeg | +| | | +| | For 3D: Regulates left/bottom/right/top | +| | margin of figure with | +| | keeping proportions of the figure | +| | | +| | For 2D: Regulates left/bottom/right/top | +| | margin of figure without | +| | keeping proportions of the figure | +| | | +| | **wspace, hspace sliders:** | +| | | +| | .. figure:: /_static/ad_wh_sliders.jpeg | +| | | +| | 3D: Regulates horizontal/vertical | +| | offset between different axes with | +| | keeping proportions of the figure | +| | | +| | 2D: Regulates horizontal/vertical | +| | offset between different axes | +| | without keeping proportions of the | +| | figure | +| | | +| | **This option makes sense if there | +| | are two or more plots | +| | with different axes** | ++-------------------+----------------------------------------------------------+ +| Save | Saves .png image of the current | +| | plot position | +| | | +| | .. figure:: /_static/save.jpeg | ++-------------------+----------------------------------------------------------+ + .. _key-event-handling: