"SkipRendering: No plotting class for QuadMesh found" when trying to save a map plot with projection
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 124
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
#### ALL software version info
hvplot 0.8.2 pyhd8ed1ab_0 conda-forge
python 3.11.0 ha86cf86_0_cpython conda-forge
bokeh 2.4.3 pyhd8ed1ab_3 conda-forge
cartopy 0.21.1 py311h5d490e5_0 conda-forge
matplotlib 3.6.2 py311h38be061_0 conda-forge
matplotlib-base 3.6.2 py311he728205_0 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
xarray 2022.12.0 pyhd8ed1ab_0 conda-forge
spyder 5.4.1 py311h38be061_1 conda-forge
spyder-kernels 2.4.1 unix_pyhd8ed1ab_0 conda-forge
#### Description of expected behavior and the observed behavior
I am trying to save a series of maps as a function of time as an interactive plot in an html file. I am running the code from Spyder.
I am using the `.hvplot.quadmesh()` method and then `hvplot.save()`. When saving the plots without projection, it works correctly, but if I add the `projection` option then I get `SkipRendering: No plotting class for QuadMesh found` when trying to save the plot.
#### Complete, minimal, self-contained example code that reproduces the issue
```
import xarray as xr
import hvplot
import hvplot.xarray
import cartopy.crs as ccrs
air_ds = xr.tutorial.open_dataset('air_temperature').load()
plot = air_ds.isel({"time":slice(0,10)}).hvplot.quadmesh('lon', 'lat', 'air', cmap='viridis', projection=ccrs.Mercator())
hvplot.save(plot, 'test.html')
```
Contributor guide
Assessment
This issue has not been assessed yet.