solarforecastarbiter.plotting.timeseries.generate_forecast_figure¶
-
solarforecastarbiter.plotting.timeseries.
generate_forecast_figure
(forecast, data)[source]¶ Creates a bokeh timeseries figure for forcast data
Parameters: - forecast (datamodel.Forecast) – The Forecast that is being plotted
- data (pandas.Series) – The forecast data with a datetime index to be plotted
Returns: - None – When the data is empty
- script, div (str) – When return_components = True, return the <script> and <div> components for the Bokeh plot.
- bokeh components from gridplot – When return_components = False