Version 0.26 (September 16, 2026)#

The documentation is now hosted on Read The Docs at the following URL: https://cartopy.readthedocs.io/stable/

This release also includes a fix for compatibility with PROJ 9.8, several robustness fixes for gridline labels and polygon transforms, and a more reliable download location for GSHHS coastline data.

Minimum supported versions of dependencies

  • Python 3.11

  • Matplotlib 3.8

  • Numpy 1.26

  • Pyproj 3.6

🎉 Features#

  • Ruth Comer added the autolim keyword to the add_geometries and add_feature methods so that axes extents can get automatically updated when adding new features to an axes. (PR #2569)

  • Thomas Guymer added ThunderForest tiles as another image tile provider. (PR #2575)

  • Thomas Guymer exposed the regrid_shape and interpolation keyword arguments on background_img, so high-resolution background images are no longer forced to be downsampled to 750 pixels. (PR #2609)

  • Do Ngoc Khanh exposed the gamma parameter of the Oblique Mercator projection. (PR #2627, PR #2733)

  • Greg Lucas vectorized the coordinate extraction in shapely_to_path, giving a 50-100x speedup for geometries with many points. (PR #2693)

  • Image tile downloaders now auto-detect whether each tile is RGB or RGBA from its image data instead of assuming a fixed format, thanks to Greg Lucas. (PR #2738)

  • Elliott Sales de Andrade enabled building and testing free-threaded wheels and wheels for Python 3.15. (PR #2720)

🐛 Bug Fixes#

  • Greg Lucas fixed an issue with small anti-meridian crossing polygons during projection. (PR #2594)

  • Thomas Guymer fixed an issue with potential cache name clashes based on different styles. (PR #2603)

  • Raphael Quast fixed a bug with polygons that had no paths to return an empty path rather than raising an error. (PR #2619)

  • Greg Lucas fixed an issue when projecting a geometry with an empty point. (PR #2640)

  • Elliott Sales de Andrade fixed hard-coded limits and thresholds that produced incorrect projections when a projection’s Globe had a non-default radius. (PR #1607)

  • Guillermo N. Leiro Arroyo fixed gridline labels on curved projection boundaries (e.g. Robinson) ignoring right_labels/left_labels visibility settings. (PR #2649)

  • Guillermo N. Leiro Arroyo fixed shared GeoAxes (via sharex/sharey) not propagating interactive zoom to sibling subplots after features were added. (PR #2652)

  • Ryan May fixed compatibility with PROJ 9.8, which changed how the equidistant cylindrical projection handles ellipsoids and broke the assumptions PlateCarree relied on. (PR #2653)

  • Greg Lucas replaced the ring orientation check with a more robust shoelace-formula calculation that handles self-intersecting rings correctly. (PR #2665)

  • Ruth Comer fixed the gridliner title adjustment logic incorrectly accounting for invisible labels. (PR #2667)

  • Guillermo N. Leiro Arroyo fixed gridline labels being hidden by false-positive overlap detection at a rotation of 90 degrees. (PR #2668)

  • Greg Lucas fixed a memory leak where the wrapped collection of a GeoQuadMesh was not removed along with the mesh itself. (PR #2676)

  • Katelyn FitzGerald updated LatitudeLocator to follow an upstream Matplotlib change that made matplotlib.ticker.MaxNLocator keywords explicit. (PR #2690)

  • Greg Lucas fixed path_to_shapely misclassifying closed triangle paths as line strings instead of polygons. (PR #2692)

  • Ruth Comer skipped title positioning calculations entirely when an axes has no titles set. (PR #2702)

  • David Vadnais fixed deepcopy/pickling of CRS subclasses created from WKT. (PR #2727)

  • Ruth Comer fixed transforms of filled paths by using the shoelace formula to determine input polygon orientation. (PR #2741)

  • Greg Lucas fixed boundary clipping on non-data transform axes. (PR #2734)

📚 Documentation#

  • Sadie L. Bartholomew added an example map from The Simpson’s. (PR #2583)

  • Moritz Schreiber added a copy button to the examples. (PR #2592)

  • Ruth Comer switched our documentation hosting to ReadTheDocs. (PR #2558)

  • David Vadnais corrected inaccurate documentation for PlateCarree. (PR #2726)

  • David Vadnais updated the docstring for NearsidePerspective. (PR #2730)

  • Greg Lucas fixed the effects_of_the_ellipse example so it demonstrates a genuine ellipse mismatch. (PR #2736)

🛠️ Maintenance#

  • Clément Robert enabled Python 3.14 wheels. (PR #2556)

  • Clément Robert added Windows32 and musllinux wheels. (PR #2581)

  • Will Hart disabled Cython profiling/line tracing by default behind the existing CYTHON_COVERAGE flag, since it was breaking the VS Code Python debugger. (PR #2613)

  • Ruth Comer bumped the minimum required versions of dependencies. (PR #2623)

  • Elliott Sales de Andrade fixed the CI installation of dependencies. (PR #2626)

  • Josh Cunningham added ARM manylinux wheels to the release process. (PR #2628)

  • Ryan May added CI upload of conda image test failures as an artifact. (PR #2636)

  • Greg Lucas upgraded deprecated ruff pre-commit configurations. (PR #2638)

  • Greg Lucas updated the test suite’s check for pykdtree/scipy availability. (PR #2639)

  • Greg Lucas moved GSHHS coastline data downloads to a more reliable location, and later to a GitHub mirror. (PR #2659, PR #2664)

  • Greg Lucas filtered expected warnings out of the test suite. (PR #2660)

  • Ruth Comer stopped accessing the private Formatter.locs attribute. (PR #2672)

  • Elliott Sales de Andrade removed wheel from the build requirements. (PR #2683)

  • Elliott Sales de Andrade removed checks for old, no-longer-supported Shapely versions. (PR #2684)

  • Elliott Sales de Andrade updated test figures for Matplotlib 3.11. (PR #2685)

  • Elliott Sales de Andrade fixed deprecation warnings raised with NumPy 2.5.0. (PR #2686)

  • Ruth Comer explicitly added pip to the conda test environment. (PR #2687)

  • Elliott Sales de Andrade dropped use of internal backwards-compatibility modules. (PR #2698)

  • Elliott Sales de Andrade dropped unnecessary explicit baseline image names from the test suite. (PR #2699)

  • Elliott Sales de Andrade updated linting to use prek, yamllint, and zizmor. (PR #2700)

  • Elliott Sales de Andrade enabled ruff’s preview rule set. (PR #2701)

  • Elliott Sales de Andrade set the default shell to bash in all CI jobs. (PR #2717)

  • Elliott Sales de Andrade disabled pickling for the internal LineAccumulator. (PR #2723)

  • Greg Lucas updated the license header check to recognise files in a git worktree. (PR #2732)

🚫 Deprecations and Removals#