fixed signature of plot_forecast_component in docs (#762)

* fixed signature of plot_forecast_component

fbprophet.plot.plot_forecast_component

* modified source notebook and ran make docs
This commit is contained in:
Louis Guitton 2018-12-04 02:05:21 +01:00 committed by Ben Letham
parent 5f6612148a
commit 545045d615
2 changed files with 3 additions and 3 deletions

View file

@ -211,7 +211,7 @@ fig = m.plot_components(forecast)
![png](/prophet/static/seasonality,_holiday_effects,_and_regressors_files/seasonality,_holiday_effects,_and_regressors_13_0.png)
Individual holidays can be plotted using the `plot_forecast_component` function (imported from `fbprophet.plot` in Python) like `plot_forecast_component(forecast, 'superbowl')` to plot just the superbowl holiday component.
Individual holidays can be plotted using the `plot_forecast_component` function (imported from `fbprophet.plot` in Python) like `plot_forecast_component(m, forecast, 'superbowl')` to plot just the superbowl holiday component.
<a id="fourier-order-for-seasonalities"> </a>

View file

@ -373,7 +373,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Individual holidays can be plotted using the `plot_forecast_component` function (imported from `fbprophet.plot` in Python) like `plot_forecast_component(forecast, 'superbowl')` to plot just the superbowl holiday component."
"Individual holidays can be plotted using the `plot_forecast_component` function (imported from `fbprophet.plot` in Python) like `plot_forecast_component(m, forecast, 'superbowl')` to plot just the superbowl holiday component."
]
},
{
@ -1089,7 +1089,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.7.0"
}
},
"nbformat": 4,