Skip to content
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

Add the zebra frame feature #2379

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

changliao1025
Copy link

Rationale

This PL adds a function zebra_frame to the existing geoaxes class. This function can add a zebra alike frame around an existing geoaxes object.

Implications

This might affect some gridlines function behavior, specifically for the labeling.

An example is added in the examples/gridlines_and_labels folder.
This function does not support all the crs yet.

@CLAassistant
Copy link

CLAassistant commented Apr 30, 2024

CLA assistant check
All committers have signed the CLA.

@changliao1025
Copy link
Author

pre-commit.ci autofix

Copy link
Author

@changliao1025 changliao1025 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format the code to remove whitespaces.

@changliao1025
Copy link
Author

The existing failings are unrelated to the newly added feature.

@lgolston lgolston linked an issue May 3, 2024 that may be closed by this pull request
Copy link
Contributor

@lgolston lgolston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note the docstring (for the new gallery example) is from a previous example, needs updating

@lgolston
Copy link
Contributor

lgolston commented May 3, 2024

Can you also comment on which crs the function is working for? The example (https://output.circle-artifacts.com/output/job/5241a971-4eeb-4915-82f3-ba69c3cacb35/artifacts/0/docs/build/html/gallery/miscellanea/zebra_frame.html#sphx-glr-gallery-miscellanea-zebra-frame-py) shows InterruptedGoodeHomolosine and PlateCarree, but the former appears to be having issues.

@changliao1025
Copy link
Author

I will test the full list of crs in the new commit and provide the supported crs list.

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.

Zebra style axis for map
3 participants