holoviz / holoviz/hvplot

Order of operations: contourf, central_longitude=180; missing data at 180

Open
#292 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

I think projection should be handled after contours is called, or else there's a strip of missing data.

```
import xarray as xr
from holoviews.operation import contours
import hvplot.xarray
```

Top plot shows:
`contours(ds.hvplot.image('lon', 'lat', crs=ccrs.PlateCarree())).opts(projection=ccrs.PlateCarree(central_longitude=180)`

Bottom plot shows:
`ds.hvplot.contourf('lon', 'lat', crs=ccrs.PlateCarree(), projection=ccrs.PlateCarree(central_longitude=180))`

![image](https://user-images.githubusercontent.com/15331990/63547847-9c9a5300-c4f2-11e9-9675-845434f91d52.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.