xarray.DataArray.dggs.explore#
- DataArray.dggs.explore(*, cmap='viridis', center=None, alpha=None, coords=None)#
interactively explore the data using lonboard
Requires lonboard, matplotlib, and arro3.core to be installed.
- Parameters:
cmap (
str) – The name of the color map to usecenter (
intorfloat, optional) – If set, will use this as the center value of a diverging color map.alpha (
float, optional) – If set, controls the transparency of the polygons.coords (
listofstr, default:[``”latitude”, ``"longitude"]) – Additional coordinates to contain in the table of contents.
- Returns:
map (
lonboard.Map) – The rendered map.
Notes
Plotting currently is restricted to 1D DataArray objects.