pyeeg.models.TRFEstimator.plot
- TRFEstimator.plot(feat_id=None, ax=None, spatial_colors=False, info=None, picks=None, plot_kws={}, **kwargs)
Plot the TRF of the feature requested as a butterfly plot.
- Parameters:
feat_id (
list|int) – Index of the feature requested or list of features. Default is to use all features.ax (array of axes (flatten)) – list of subaxes
spatial_colors (bool) – Whether to color the butterfly lines according to the spatial position of the channels (requires
info). Default: False.info (
mne.Infoor None) – Info instance from MNE, used for spatial coloring or for plotting interactively.picks (list of int, optional) – Channel indices to plot when
infois given.plot_kws (
**dict) – Parameters to pass toplt.plot()(so that you can control the line style, color, etc…)**kwargs (
**dict) – Parameters to pass toplt.subplots()
- Returns:
fig
- Return type:
plt.Figure