ContourDisplay.barbs(x, y, u, v, subplot_index=(0,), **kwargs)[source]

Base function for wind barbs. If subplots have not been added yet, an axis will be created assuming that there is only going to be one plot.

  • x (array-like) – x coordinates or grid for z.

  • y (array-like) – y coordinates or grid for z.

  • u (array-like) – U component of vector.

  • v (array-like) – V component of vector.

  • subplot_index (1 or 2D tuple, list, or array) – The index of the subplot to set the x range of.

  • **kwargs (keyword arguments) – The keyword arguments for plt.barbs()


ax (matplotlib axis handle) – The matplotlib axis handle of the plot.