yasa.SWResults.plot_detection#

SWResults.plot_detection()[source]#

Plot an overlay of the detected slow-waves on the EEG signal.

This only works in Jupyter and it requires the ipywidgets (https://ipywidgets.readthedocs.io/en/latest/) package.

To activate the interactive mode, make sure to run:

>>> %matplotlib widget

Added in version 0.4.0.