solarforecastarbiter.plotting.timeseries.make_quality_bars

solarforecastarbiter.plotting.timeseries.make_quality_bars(source, plot_width, x_range)[source]

Make figures to display the whether a time is flagged for any of the columns in source.

Parameters:
  • source (bokeh.models.ColumnDataSource) – The predefined data source with flags loaded. Only columns in FLAG_COLORS will be made into bars. If data for a flag is empty, a bar will not be generated for that flag.
  • plot_width (int) – The width of the figures
  • x_range (bokeh.Range or tuple) – If x_range is a bokeh Range from another plot, the plots will be linked on panning/zooming/etc.
Returns:

list – Of bar figures. The top figure will have an appropriate title.