geocat.viz.util.set_vector_density#
- geocat.viz.util.set_vector_density(data, minDistance=0)#
Utility function to change density of vector plots.
- Parameters:
data (
xarray.DataArray
) – Data array that contains the vector plot latitude/longitude data.minDistance (
int
) – Value in degrees that determines the distance between the vectors.
- Returns:
ds (
xarray.DataArray
) – Sliced version of the input data array.
Examples
All usage examples are within the GeoCAT-Examples Gallery. To see more usage cases, search the function on the website.