pyorc.Frames.plot#

Frames.plot(ax=None, mode='local', *args, **kwargs)#

Creates QuadMesh plot from a RGB or grayscale frame on a new or existing (if ax is not None) axes

Wraps matplotlib:matplotlib.collections.QuadMesh().

Parameters:
  • ax (plt.axes, optional) – If None (default), use the current axes. Not applicable when using facets.

  • mode (str, optional) – perspective mode to use for plotting. Can be “local” (default), “geographical”, or “camera”. For “geographical” a frames set from Frames.project should be used that contains “lon” and “lat” coordinates. For “camera”, a non-projected frames set should be used.

  • *args (additional arguments, passed to wrapped Matplotlib function.) –

  • **kwargs (additional keyword arguments to wrapped Matplotlib function.) –

Returns:

p

Return type:

matplotlib.collections.QuadMesh