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:
- ax
matplotlib.axes.Axes Matplotlib Axes
- ax
Examples
>>> from yasa import simulate_hypnogram >>> ax = simulate_hypnogram(tib=300, seed=88).plot_hypnogram(highlight="REM")