dreye.ReceptorEstimator.filter_plot#
- ReceptorEstimator.filter_plot(ax=None, colors=None, labels=None, **kwargs)[source]#
Plot the filter functions. In color science, these are the spectral sensitivities of each photoreceptor.
- Parameters:
- axmatplotlib.axes.Axes, optional
Pre-existing axes for the plot. Otherwise, call matplotlib.pyplot.gca() internally.
- colorsndarray of shape (n_filters), optional
Colors for each filter, by default None
- labelsndarray of shape (n_filters), optional
Labels for each filter, 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.