Extract Feature

Extracts features from already plotted figure.

class plotpainter.extracted_figure_class.ExtractedArtist(artist, axessubplot, color, label, art_type)

Extracted matplotlib artist or container of artists.

class plotpainter.extracted_figure_class.ExtractedFigure(fig)

Extract the plotted Artists in the AxesSubplots of a Figure and enable the reconfiguration of the Artist attributes

retrieve_axes_artists()

For all AxesSubplots in the Figure, retrieve the plotted artists, their labels, and current colors.

retrieve_colors_from_artists()

Retrieve the color, or facecolor and edgecolor, for an artist or container of artists.

retrieve_figure_subplots()

Extract the list of matplotlib AxesSubplots in the Figure

(Note: the datatype of the AxesSubplot will be

matplotlib.axes._subplots.AxesSubplot)

retrieve_types_from_artists()

Retieve the type for an artist or container of artists.