Skip to content

Deprecate basemap #243

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 2 commits into from
Jun 1, 2025
Merged

Conversation

cvanelteren
Copy link
Contributor

@cvanelteren cvanelteren commented May 31, 2025

This PR will introduce a deprecation warning for basemap. The rationale behind deprecation is as follows: basemap was deprecated in the past, but it seemed like development was picking up steam again. It has been a few months since I submitted a few PRs that would update basemap with modern tooling (in particular numpy, see matplotlib/basemap#604, matplotlib/basemap#623, matplotlib/basemap#622). Not sure what the status is currently but little activity has been seen on that repo for a while. Furthermore, cartopy has more powerful features with good matplotlib support. Lastly, it would streamline our development as we only have to focus on a singular backend and geo.py needs a refactor in my opinion.

I open this PR up for community members to chip in, but I don't see a good reason to not do this.

Copy link

codecov bot commented May 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@cvanelteren cvanelteren enabled auto-merge (squash) June 1, 2025 12:19
@cvanelteren cvanelteren merged commit b853a3f into Ultraplot:main Jun 1, 2025
15 checks passed
cvanelteren added a commit to cvanelteren/ultraplot that referenced this pull request Jun 2, 2025
* Deprecate basemap. Basemap will be deprecated in the next major release (v2.0). See Ultraplot#243 for context.
beckermr pushed a commit that referenced this pull request Jun 3, 2025
* 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

* fixed missing functions in grid

* need to fix test

* 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

* added tests

* updated test to check for sharing of panels

* update test

* update test

* Update ultraplot/tests/test_geographic.py

Co-authored-by: Copilot <[email protected]>

* rm unnecessary funcs

* Deprecate basemap (#243)

* Deprecate basemap. Basemap will be deprecated in the next major release (v2.0). See #243 for context.

* Hotfix get_border_axes (#236)

* 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]>

* refactor panel_group_member

* mv logic  to base

* mv to the correct spot

---------

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants