Skip to content

transform=ccrs.PlateCarree() now required when making maps #58

@bradyrx

Description

@bradyrx

I think after 77f2b71, this issue arose.

Previously, one could do something like:

import numpy as np
import proplot as plot
% import cartopy.crs as ccrs

data = np.random.rand(180, 360)
lats = np.linspace(-89.5, 89.5, 180)
lons = np.linspace(-179.5, 179.5, 360)

f, ax = plot.subplots(proj='robin')

ax.pcolormesh(lons, lats, data)

and you'd get the map. Now it's showing up blank and requires ax.pcolormesh(lons, lats, data, transform=ccrs.PlateCarree()). Maybe minor but a nice thing to not have to worry about with proplot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions