Repository navigation
Add pan and zoom toolbar handling to 3D Axes (Replaces PR#22614) #23449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
d161de3
ENH: Add pan and zoom toolbar handling to 3D Axes
greglucas 9fd9c66
Rewrite zooming with bounding box
scottshambaugh 4b1d8cf
Rewrite 3d panning to work with a roll angle
scottshambaugh a6e4651
Whats new for zoom and pan buttons
scottshambaugh d7a3d6c
Make pan button configurable
scottshambaugh acbec0c
Do not jump when zooming and mouse goes over other subplot
scottshambaugh bb95903
Rework zooming for 3d plots
scottshambaugh 88d616f
Handle x/y lock when zooming and panning
scottshambaugh 5833512
Update tests
scottshambaugh b6fe8b0
Docstrings
scottshambaugh 8a1e166
Dont assume a scale_z
scottshambaugh 8f434d6
Limit zoom box
scottshambaugh da4fccc
Test zoom pan key modifiers
scottshambaugh 695fd50
Save some calculation by saving view axes
scottshambaugh 86f4f64
Deprecation warnings for Axes3D.eye, .vvec
scottshambaugh 47f7000
Remove Axes3D._prepare_view_from_bbox for now
scottshambaugh 1eb74b6
Comments and docstrings
scottshambaugh 4a6020b
Switch from uvn to uvw
scottshambaugh 11f6625
Save aspect to axes
scottshambaugh a1ac931
Merge branch 'aspect_equal_3d' into pan-zoom-3d
scottshambaugh 4a54404
Constrain zooming with mouse when one of the equal aspect ratios is set
scottshambaugh e1f43f3
Cleanup
scottshambaugh 33aef1c
Merge branch 'aspect_equal_3d' into pan-zoom-3d
scottshambaugh 80211c9
Merge branch 'aspect_equal_3d' into pan-zoom-3d
scottshambaugh 423cec8
Cleanup
scottshambaugh aa04186
Consolidate finding equal aspect axis indices
scottshambaugh 59e9814
Merge branch 'matplotlib:main' into pan-zoom-3d
scottshambaugh 9e50954
linting
scottshambaugh 0c2864d
Merge branch 'main' into pan-zoom-3d
scottshambaugh d55706c
More intuitive scaling
scottshambaugh 0008c02
Box zoom keeps existing aspect ratios
scottshambaugh caeff1b
Linting
scottshambaugh 772b511
Code review comments
scottshambaugh 1cdc5aa
Merge branch 'main' into pan-zoom-3d
scottshambaugh 039b975
Revert parameters for view_transformation
scottshambaugh bb47e26
Fix new 3d pan/zoom view going on view stack twice
scottshambaugh f6a3d2e
Better clipping
scottshambaugh 80b08a3
Test 3d toolbar navigation
scottshambaugh 50defe5
Privatize helper functions
scottshambaugh 9e60e62
Deprecations
scottshambaugh 44a6d28
Code review changes
scottshambaugh 7ac9f0a
Deprecation note
scottshambaugh c2c59e9
Merge branch 'main' into pan-zoom-3d
scottshambaugh a045f36
Undeprecate proj3d.view_transformation
scottshambaugh e759fba
Undeprecate proj3d.view_transformation
scottshambaugh ae8f6a1
Update doc/api/next_api_changes/deprecations/23449-SS.rst
scottshambaugh 28fae53
Merge branch 'pan-zoom-3d' of github.com:scottshambaugh/matplotlib in…
scottshambaugh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| 3D plot pan and zoom buttons | ||
| ---------------------------- | ||
|
|
||
| The pan and zoom buttons in the toolbar of 3D plots are now enabled. | ||
| Deselect both to rotate the plot. When the zoom button is pressed, | ||
| zoom in by using the left mouse button to draw a bounding box, and | ||
| out by using the right mouse button to draw the box. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.