cartopy icon indicating copy to clipboard operation
cartopy copied to clipboard

Add the zebra frame feature

Open changliao1025 opened this issue 9 months ago • 5 comments

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.

changliao1025 avatar Apr 30 '24 03:04 changliao1025

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 30 '24 03:04 CLAassistant

pre-commit.ci autofix

changliao1025 avatar Apr 30 '24 20:04 changliao1025

The existing failings are unrelated to the newly added feature.

changliao1025 avatar May 01 '24 16:05 changliao1025

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.

lgolston avatar May 03 '24 02:05 lgolston

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

changliao1025 avatar May 06 '24 16:05 changliao1025