fatf.utils.testing.vis.get_plot_data

fatf.utils.testing.vis.get_plot_data(plot_axis: matplotlib.axes._axes.Axes) → Tuple[str, str, List[float], str, List[float]][source]

Extracts plot’s title, x-axis name and range and y-axis name and range.

Parameters
plot_axismatplotlib.pyplot.Axes

A matplotlib axis from which all of the aforementioned information will be extracted.

Returns
plot_titlestring

Plot’s title.

plot_x_labelstring

Label of the plot’s x-axis.

plot_x_rangeList[Number]

Range of the plot’s x-axis.

plot_y_labelstring

Label of the plot’s y-axis.

plot_y_rangeList[Number]

Range of the plot’s y-axis.