diff --git a/docs/_docs/seasonality,_holiday_effects,_and_regressors.md b/docs/_docs/seasonality,_holiday_effects,_and_regressors.md index fa5d786..0aa159d 100644 --- a/docs/_docs/seasonality,_holiday_effects,_and_regressors.md +++ b/docs/_docs/seasonality,_holiday_effects,_and_regressors.md @@ -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. diff --git a/notebooks/seasonality,_holiday_effects,_and_regressors.ipynb b/notebooks/seasonality,_holiday_effects,_and_regressors.ipynb index af338bc..da7cf78 100644 --- a/notebooks/seasonality,_holiday_effects,_and_regressors.ipynb +++ b/notebooks/seasonality,_holiday_effects,_and_regressors.ipynb @@ -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,