HOME/Articles/

matplotlib example arrows (snippet)

Article Outline

Python matplotlib example 'arrows'

Functions in program:

  • def arrows(ax):

python arrows

Python matplotlib example: arrows

from cartopy.examples.arrows import sample_data


def arrows(ax):
    x, y, u, v, vector_crs = sample_data()
    ax.quiver(x, y, u, v, transform=vector_crs)