cartopy icon indicating copy to clipboard operation
cartopy copied to clipboard

Add latitude_true_scale to ccrs.LambertCylindrical

Open shoyer opened this issue 5 months ago • 2 comments

This allows for plotting other popular cylindrical projections (e.g., Gall-Peters)

Fixes #1098

Example usage:

import matplotlib.pyplot as plt
import cartopy.crs as ccrs

plt.figure(figsize=(9.42477796077, 6))
ax = plt.axes(projection=ccrs.LambertCylindrical(latitude_true_scale=45))
ax.coastlines(resolution='110m')
ax.gridlines()
image

shoyer avatar Oct 24 '25 21:10 shoyer

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 24 '25 21:10 CLAassistant

I think the tests will need to be updated to add new cached images. Is that something I can do, or that happens automatically?

shoyer avatar Oct 27 '25 22:10 shoyer