accessiplot.detection.color_detection.get_common_colors_from_plot

accessiplot.detection.color_detection.get_common_colors_from_plot(plot)[source]

Given a line chart, return a list of colors used for the lines and background, in RGB.

Parameters:
pltmatplotlib.pyplot

A matplotlib.pyplot object in which a line chart is plotted.

Returns:
lines_colors: list

A list of colors used for the lines in the plot.