spiketools.plts.annotate.add_hshades¶
- spiketools.plts.annotate.add_hshades(hshades, ax=None, **plt_kwargs)[source]¶
Add horizontal shade region(s) to a plot axis.
- Parameters:
- hshadelist of float
Region(s) of the plot to shade in.
- axAxes, optional
Axis object upon which to plot.
- plt_kwargs
Additional arguments to pass into the plot function.