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

  • plot_kws (**dict) – Parameters to pass to plt.plot() (so that you can control the line style, color, etc…)

  • **kwargs (**dict) – Parameters to pass to plt.subplots()

Returns:

fig

Return type:

plt.Figure