-
Notifications
You must be signed in to change notification settings - Fork 370
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
base: main
Are you sure you want to change the base?
Conversation
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
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.
Format the code to remove whitespaces.
The existing failings are unrelated to the newly added feature. |
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.
Note the docstring (for the new gallery example) is from a previous example, needs updating
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. |
I will test the full list of crs in the new commit and provide the supported crs list. |
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.