huracanpy.plot.density#
- huracanpy.plot.density(d, ax=None, contourf_kws=None, subplot_kws=None, fig_kws=None, cbar_kwargs=None)[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: