autosize
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def get_forecast(company_name):
|
|
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",
|
50 |
|
51 |
return fig
|
52 |
|
|
|
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 |
|