-
Notifications
You must be signed in to change notification settings - Fork 11
Hotfix panel #238
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
Hotfix panel #238
Conversation
Co-authored-by: Copilot <[email protected]>
Not sure how helpful panels would be for |
The PR now contains the HEAD of #236 |
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements a hotfix that addresses missing functions along with updates to tests for geographic plotting and formatting. Key changes include:
- Adding a new test for geo panels and colorbar behavior in geographic plots.
- Adjusting assertions and share parameter usage in formatting and axis sharing tests.
- Updating the border axes detection logic and introducing a helper for panel group membership in GeoAxes.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
ultraplot/tests/test_geographic.py | Added colorbar testing and updated assertions for shared labels. |
ultraplot/tests/test_format.py | Updated test calls to include explicit share parameters. |
ultraplot/tests/test_axes.py | Revised label visibility assertions and removed duplicate helpers. |
ultraplot/figure.py | Refined border axes detection with a grid-based approach. |
ultraplot/axes/geo.py | Introduced panel group membership logic and improved sharing logic. |
* Deprecate basemap. Basemap will be deprecated in the next major release (v2.0). See Ultraplot#243 for context.
* simplified logic and basing reference on original grid * rm print statements * spelling * Update ultraplot/figure.py Co-authored-by: Copilot <[email protected]> * do more comprehensive checking * rm debug * add some reasoning * fixed * add a stale check * compound tests and check for the failure * update calls * update tests * formatting restored to defaults * don't adjust labels when not sharing * tests pass -- some expected failures * rm debug statements * fix test * Update ultraplot/tests/test_geographic.py Co-authored-by: Copilot <[email protected]> * Update ultraplot/figure.py Co-authored-by: Copilot <[email protected]> * Update ultraplot/axes/geo.py Co-authored-by: Copilot <[email protected]> * Revert changes * rm duplicate * fixes --------- Co-authored-by: Copilot <[email protected]>
Added some functions that were missing. This would address #237