FIX/NEW: plot_center bug fix and new plot_tight option#437
Open
carleyjmartin wants to merge 5 commits intodevelopfrom
Open
FIX/NEW: plot_center bug fix and new plot_tight option#437carleyjmartin wants to merge 5 commits intodevelopfrom
carleyjmartin wants to merge 5 commits intodevelopfrom
Conversation
added 5 commits
February 23, 2026 15:48
…oj plots with MLT not mag longitude
3 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Scope
This PR fixes the plot_center option for MAG projections, and includes new plot_tight which will calculate the plot_center and plot_extent to center the FOV in the middle of the plot zoomed in.
Docs amended to include changes. This can be properly formatted during a release.
Note that the plot_center now used MLT when using the magnetic projection, as that it what is plotted so makes more sense.
Plot tight requires information about the FOV so has to be in the fan module to get that information. Tight plotting is only available for FOV and FAN methods for individual radar plots... doesn't make sense to have the option for grid or maps. You can over plot extra fans from other radars, but plot_tight will use whatever radar you have plotted first with that option as True.
issue: to close #430 and #433
Approval
Number of approvals: 2, code review and testing
Test
matplotlib version: 3.10.8
python version: 3.11
Note testers: please indicate what version of matplotlib you are using
Whole bunch of plots this made for testing: