Add the zebra frame feature#2379
Conversation
|
|
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
changliao1025
left a comment
There was a problem hiding this comment.
Format the code to remove whitespaces.
|
The existing failings are unrelated to the newly added feature. |
|
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.