Skip to content

Comments

Snap 3d ctrl#31145

Open
Chirag3841 wants to merge 3 commits intomatplotlib:mainfrom
Chirag3841:snap-3d-ctrl
Open

Snap 3d ctrl#31145
Chirag3841 wants to merge 3 commits intomatplotlib:mainfrom
Chirag3841:snap-3d-ctrl

Conversation

@Chirag3841
Copy link

PR summary

PR checklist

Description

This PR adds a Ctrl modifier key to 3D mouse rotation so that when Ctrl is held while dragging, the view angles snap to fixed 5° increments (azimuth/elevation/roll). This makes it easier to return to repeatable camera angles when exploring 3D plots.

A small test is included to verify snapping behavior when Ctrl is pressed.

@Chirag3841 Chirag3841 force-pushed the snap-3d-ctrl branch 2 times, most recently from 5b91598 to 2f47b9a Compare February 13, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH]: Modifier key to discretize rotations for 3D plots

1 participant