diff --git a/openbb_terminal/forecast/forecast_controller.py b/openbb_terminal/forecast/forecast_controller.py index 292c84fa387..8a2b27c547c 100644 --- a/openbb_terminal/forecast/forecast_controller.py +++ b/openbb_terminal/forecast/forecast_controller.py @@ -442,7 +442,7 @@ class ForecastController(BaseController): "--n-days", action="store", dest="n_days", - type=check_greater_than_one, + type=check_positive, default=5, help="prediction days.", ) diff --git a/openbb_terminal/forecast/helpers.py b/openbb_terminal/forecast/helpers.py index 2f5596b0e46..3776deb5da3 100644 --- a/openbb_terminal/forecast/helpers.py +++ b/openbb_terminal/forecast/helpers.py @@ -509,7 +509,7 @@ def plot_forecast( pred_label = f"{name} Forecast" if past_covariates: pred_label += " w/ past covs" - predicted_values.plot(label=pred_label, ax=ax, **quant_kwargs, color="#00AAFF") + predicted_values.plot(label=pred_label, **quant_kwargs, color="#00AAFF") ax.set_title( f"{name} for ${ticker_name} for next [{n_predict}] days (MAPE={precision:.2f}%)" )