syncopy.plotting.spy_plotting.singlepanelplot

syncopy.plotting.spy_plotting.singlepanelplot(data, **show_kwargs)[source]

Plot Syncopy data in a single panel

Careful with selecting to many trials/channels as this can quickly lead to memory exhaustion for big datasets.

Parameters:
  • data (base_data) – Any (derived) Syncopy data type

  • show_kwargs (dict) – show() arguments to select which parts of the data to plot

Examples

Plot the 1st trial of data:

>>> spy.singlepanelplot(data, trials=0)

Alternatively directly use the method attached to data:

>>> data.singlepanelplot(trials=0)

Select a time- and frequency window (for e.g. SpectralData()):

>>> data.singlepanelplot(trials=0, foilim=[20, 50], toilim=[0, 0.25])