Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting tiles with projection results in blank plot #1374

Open
ahuang11 opened this issue Jul 19, 2024 · 0 comments
Open

Setting tiles with projection results in blank plot #1374

ahuang11 opened this issue Jul 19, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@ahuang11
Copy link
Collaborator

ahuang11 commented Jul 19, 2024

import hvplot.xarray

import xarray as xr
import cartopy.crs as ccrs
import geoviews as gv

ds = xr.tutorial.load_dataset("air_temperature").isel(time=slice(0, 100))
gv.tile_sources.CartoDark() * ds.hvplot("lon", "lat", crs=ccrs.PlateCarree(), projection=ccrs.GOOGLE_MERCATOR)

Tried switching the ordering to no avail

image

Removing crs/projection shows a map, although not correctly projected
image

Using the latest main of hvplot and geoviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant