plot_range¶
- src.lookoutequipment.plot.plot_range(range_df, range_title, color, ax, column_name)¶
Plot a range with either labelled or predicted events as a filled area positionned under the timeseries data.
- Parameters
range_df (pandas.DataFrame) – A DataFrame that must contain at least a DateTimeIndex and a column called “Label”
range_title (string) – Title of the ax containing this range
color (string) – A string used as a color for the filled area of the plot
ax (matplotlib.pyplot.Axis) – The ax in which to render the range plot
column_name (string) – The column from the range_df dataframe to use to plot the range