def quiver(
    uv_motion_field,
    ax=None,
    geodata=None,
    axis="on",
    step=20,
    quiver_kwargs=None,
    map_kwargs=None,
):
    """Function to plot a motion field as arrows.
    Wrapper for :func:`pysteps.visualization.motionfields.motion_plot` passing
    `plot_type="quiver"`.

    .. _`quiver_doc`: https://matplotlib.org/api/_as_gen/matplotlib.pyplot.quiver.html

    Parameters
    ----------
    uv_motion_field: array-like
        Array of shape (2, m,n) containing the input motion field.
    quiver_kwargs: dict, optional
      Optional dictionary containing keyword arguments for the quiver method.
      This argument is passed to
      See the `quiver_doc`_ matplotlib's documentation.

    Other parameters
    ----------------
    See :py::func:`pysteps.visualization.motionfields.motion_plot`.

    Returns
    -------
    out: axis object0
        Figure axes. Needed if one wants to add e.g. text inside the plot.
    """
    if quiver_kwargs is None:
        quiver_kwargs = dict()

    return motion_plot(
        uv_motion_field,
        plot_type="quiver",
        ax=ax,
        geodata=geodata,
        axis=axis,
        step=step,
        plot_kwargs=quiver_kwargs,
        map_kwargs=map_kwargs,
    )
Function to plot a motion field as arrows.
Wrapper for :func:`pysteps.visualization.motionfields.motion_plot` passing
`plot_type="quiver"`.

.. _`quiver_doc`: https://matplotlib.org/api/_as_gen/matplotlib.pyplot.quiver.html

Parameters
----------
uv_motion_field: array-like
Array of shape (2, m,n) containing the input motion field.
quiver_kwargs: dict, optional
Optional dictionary containing keyword arguments for the quiver method.
This argument is passed to
See the `quiver_doc`_ matplotlib's documentation.

Other parameters
----------------
See :py::func:`pysteps.visualization.motionfields.motion_plot`.

Returns
-------
out: axis object0
Figure axes. Needed if one wants to add e.g. text inside the plot.
pysteps/visualization/motionfields.py