dreye.ReceptorEstimator.sources_plot#
- ReceptorEstimator.sources_plot(ax=None, colors=None, labels=None, **kwargs)[source]#
Plot the normalized excitation functions of the sources. In color science, these are the normalized spectral distributions of the light sources (e.g. LEDs).
- Parameters:
- axmatplotlib.axes.Axes, optional
Pre-existing axes for the plot. Otherwise, call matplotlib.pyplot.gca() internally.
- colorsndarray of shape (n_sources), optional
Colors for each source, by default None
- labelsndarray of shape (n_sources), optional
Labels for each source, by default None
- kwargskey, value mappings
Other keyword arguments are passed down to matplotlib.axes.Axes.plot().
- Returns:
- matplotlib.axes.Axes, optional
The matplotlib axes containing the plot.