matplotlib icon indicating copy to clipboard operation
matplotlib copied to clipboard

[ENH]: Helpful coordinate displays when panning and zooming

Open scottshambaugh opened this issue 3 years ago • 0 comments

Problem

When rotating 3D plots, the coordinate display changes to display the elev/azim/roll view angles. Something similar would be useful for zooming and panning in both 3D and 2D plots.

When panning:

  • 2D: Change coordinate display to the format of Δx = 0, Δy = 0.
  • 3D: Change coordinate display to the format of Δx = 0, Δy = 0, Δz = 0.

When zooming:

  • 2D: Change coordinate display to the format of scale X = 1, scale Y = 1.
    • May want to leave showing x/y coordinates like it does now? Zoom box to specific coordinates may be more useful than seeing the scale factor.
  • 3D: Change coordinate display to the format of scale = 1 (3D plots will always zoom with equal aspect once https://github.com/matplotlib/matplotlib/pull/23449 merges in).

Proposed solution

No response

scottshambaugh avatar Sep 08 '22 16:09 scottshambaugh