fooof.plts.utils.recursive_plot¶
- fooof.plts.utils.recursive_plot(data, plot_function, ax, **kwargs)[source]¶
A utility to recursively plot sets of data.
- Parameters
- datalist
List of datasets to iteratively add to the plot.
- plot_functioncallable
Plot function to call to plot the data.
- axmatplotlib.Axes
Figure axes upon which to plot.
- **kwargs
Keyword arguments to pass into the plot function. Inputs can be organized as:
a list of values corresponding to length of data, one for each plot call
a single value, such as an int, str or None, to be applied to all plot calls
Notes
The plot_function argument must accept the ax parameter to specify a plot axis.