yasa.Hypnogram.plot_hypnogram#

Hypnogram.plot_hypnogram(**kwargs)[source]#

Plot the hypnogram.

See also

yasa.plot_hypnogram

Parameters:
**kwargsdict

Optional keyword arguments passed to yasa.plot_hypnogram.

Returns:
axmatplotlib.axes.Axes

Matplotlib Axes

Examples

>>> from yasa import simulate_hypnogram
>>> ax = simulate_hypnogram(tib=300, seed=88).plot_hypnogram(highlight="REM")
../_images/yasa-Hypnogram-plot_hypnogram-1.png