Plot scores related to detected components.
Use this function to asses how well your score describes outlier sources and how well you were detecting them.
mne.preprocessing.ICAThe ICA object.
float, shape (n_ica_components,) | list of arrayScores based on arbitrary metric to characterize ICA components.
intThe components marked for exclusion. If None (default), ICA.exclude will be used.
str | list | ‘ecg’ | ‘eog’ | NoneThe labels to consider for the axes tests. Defaults to None.
If list, should match the outer shape of scores.
If ‘ecg’ or ‘eog’, the labels_ attributes will be looked up.
Note that ‘/’ is used internally for sublabels specifying ECG and
EOG channels.
floatDraw horizontal line to e.g. visualize rejection threshold.
strThe figure title.
tuple of int | NoneThe figure size. If None it gets set automatically.
int | NoneScores are plotted in a grid. This parameter controls how many to plot side by side before starting a new row. By default, a number will be chosen to make the grid as square as possible.
Show figure if True.
FigureThe figure object.