filipeclduarte commited on
Commit
67d904d
·
1 Parent(s): 34babee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,8 +97,8 @@ if uploaded_file is not None:
97
  ),
98
 
99
  go.Scatter(
100
- x=forecasts_df['ds'].values+forecasts_df['ds'].values[::-1], # x, then x reversed
101
- y=forecasts_df['hi_ci_05'].values+forecasts_df['low_ci_05'].values[::-1], # upper, then lower reversed
102
  fill='toself',
103
  fillcolor='#00CC96',
104
  line=dict(color='#00CC96'),
 
97
  ),
98
 
99
  go.Scatter(
100
+ x=np.concatenate([forecasts_df['ds'].values,forecasts_df['ds'].values[::-1]]), # x, then x reversed
101
+ y=pd.concat([forecasts_df['hi_ci_05'].values+forecasts_df['low_ci_05'].values[::-1]]), # upper, then lower reversed
102
  fill='toself',
103
  fillcolor='#00CC96',
104
  line=dict(color='#00CC96'),