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
oraxes
orlist
ofaxes
orxarray.plot.FacetGrid
, optional) – Data structure to get anAxes
list from. If unset,matplotlib.pyplot.gca()
is used.- Returns:
list
ofmatplotlib axes
– Extracted list ofAxes
.- Raises:
TypeError – If
from_
is of unsupported type.