CADETProcess.plotting.get_all_twin_handles_labels

CADETProcess.plotting.get_all_twin_handles_labels#

CADETProcess.plotting.get_all_twin_handles_labels(ax: Axes) tuple[list, list][source]#

Return handles and labels from an axes and all of its twins.

Parameters:
axmatplotlib.axes.Axes

The reference axes.

Returns:
handleslist

All line/patch artists from ax and its twin axes.

labelslist of str

Corresponding legend labels.