eradiate.plot.detect_axes#

eradiate.plot.detect_axes(from_=None)[source]#

Try and extract a Axes list from a data structure.

Parameters

from_ (matplotlib figure or axes or list of axes or xarray.plot.FacetGrid, optional) – Data structure to get an Axes list from. If unset, matplotlib.pyplot.gca() is used.

Returns

list of matplotlib axes – Extracted list of Axes.

Raises

TypeError – If from_ is of unsupported type.