abhivsh commited on
Commit
1cf0ace
·
verified ·
1 Parent(s): cc8b645
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,8 +45,8 @@ def get_forecast(company_name):
45
  forecast = model.predict(future)
46
  forecast_df = forecast[['ds', 'yhat', 'yhat_lower', 'yhat_upper']]
47
 
48
- fig = plot_plotly(model, forecast_df)
49
- fig.update_layout(xaxis_title="Date", yaxis_title="Price", autosize=True)
50
 
51
  return fig
52
 
 
45
  forecast = model.predict(future)
46
  forecast_df = forecast[['ds', 'yhat', 'yhat_lower', 'yhat_upper']]
47
 
48
+ fig = plot_plotly(model, forecast_df, xlabel = "Date", ylabel = "Price", figsize=(1400,800))
49
+ #fig.update_layout(xaxis_title="Date", yaxis_title="Price")
50
 
51
  return fig
52