kadi.commands.utils.add_figure_regions#
- kadi.commands.utils.add_figure_regions(fig, figure_start, figure_stop, region_starts, region_stops, color='black', opacity=0.2, line_width=3)#
Add regions to a figure with a date-based x-axis
figure_startandfigure_stopare the start and stop times for the figure.region_startsandregion_stopsare lists of start/stop times for regions.