uxarray.UxDataArray.plot.datashade#
- UxDataArray.plot.datashade(*args, method='polygon', plot_height=300, plot_width=600, x_range=(-180, 180), y_range=(-90, 90), cmap='Blues', agg='mean', **kwargs)#
Visualizes an unstructured grid data variable using data shading (rasterization + shading).
- Parameters:
method (str, optional) – Selects which method to use for data shading
plot_width (int, optional) – Width and height of the output aggregate in pixels.
plot_height (int, optional) – Width and height of the output aggregate in pixels.
x_range (tuple, optional) – A tuple representing the bounds inclusive space
[min, max]
along the axis.y_range (tuple, optional) – A tuple representing the bounds inclusive space
[min, max]
along the axis.cmap (str, optional) – Colormap used for shading
agg (str, optional) – Reduction to compute. Default is “mean”, but can be one of “mean” or “sum”