xoa.plot.plot_box

Contents

xoa.plot.plot_box#

xoa.plot.plot_box(lon, lat, ax=None, **kwargs)[source]#

Plot a box, with the arguments of xoa.geo.get_geosel()

Parameters:
  • lon ((float, float)) – Ranges of longitudes, that may cross the dateline like (170, -170), and latitudes

  • lat ((float, float)) – Ranges of longitudes, that may cross the dateline like (170, -170), and latitudes

  • ax (None, matplotlib.axes.Axes) – Axes to plot on, which defaults to the current one

  • kwargs – Extra parameters are passed to xoa.core.plot.plot_box().

Returns:

matplotlib.patches.Polygon