huracanpy.plot.density#
- huracanpy.plot.density(d, ax=None, contourf_kws={'cmap': 'magma_r', 'levels': 10}, subplot_kws={'projection': <Projected CRS: +proj=eqc +ellps=WGS84 +a=6378137.0 +lon_0=180 +to ...> Name: unknown Axis Info [cartesian]: - E[east]: Easting (unknown) - N[north]: Northing (unknown) - h[up]: Ellipsoidal height (metre) Area of Use: - undefined Coordinate Operation: - name: unknown - method: Equidistant Cylindrical Datum: Unknown based on WGS 84 ellipsoid - Ellipsoid: WGS 84 - Prime Meridian: Greenwich }, fig_kws={}, cbar_kwargs={'label': ''})[source]#
Create a map showing the input density
- Parameters:
d (xarray.Dataset) – Density map from
huracanpy.calc.density()ax (matplotlib.axes.Axes, optional) – The axes to draw the figure on. A new figure is created if ax is None
contourf_kws (dict, optional) – Arguments to be passed to
matplotlib.pyplot.contourf()subplot_kws (dict, optional) – Arguments to be passed to
matplotlib.pyplot.subplots()subplot_kw argumentfig_kws (dict, optional) – Arguments to be passed to
matplotlib.pyplot.subplots()cbar_kwargs (dict, optional) – Arguments to be passed to
matplotlib.pyplot.colorbar()
- Returns:
The figure and axes instances created for the plot
- Return type: