etuncer commited on
Commit
03d8270
·
verified ·
1 Parent(s): 2a1059c

Update src/app.py

Browse files
Files changed (1) hide show
  1. src/app.py +3 -5
src/app.py CHANGED
@@ -91,10 +91,9 @@ if df is not None and model is not None:
91
  fig = px.line(df, x='Date', y='Views', title='Website Traffic Over Time')
92
  fig.update_layout(
93
  xaxis_title="Date",
94
- yaxis_title="Views",
95
- hovermode='x unified'
96
  )
97
- st.plotly_chart(fig, width='stretch')
98
 
99
  # Data table
100
  st.subheader("Raw Data")
@@ -178,11 +177,10 @@ if df is not None and model is not None:
178
  title='Website Traffic Forecast',
179
  xaxis_title='Date',
180
  yaxis_title='Views',
181
- hovermode='x unified',
182
  height=500
183
  )
184
 
185
- st.plotly_chart(fig, width='stretch')
186
 
187
  # Prediction summary
188
  st.subheader("Prediction Summary")
 
91
  fig = px.line(df, x='Date', y='Views', title='Website Traffic Over Time')
92
  fig.update_layout(
93
  xaxis_title="Date",
94
+ yaxis_title="Views"
 
95
  )
96
+ st.plotly_chart(fig, width='stretch', config={'displayModeBar': True, 'displaylogo': False})
97
 
98
  # Data table
99
  st.subheader("Raw Data")
 
177
  title='Website Traffic Forecast',
178
  xaxis_title='Date',
179
  yaxis_title='Views',
 
180
  height=500
181
  )
182
 
183
+ st.plotly_chart(fig, width='stretch', config={'displayModeBar': True, 'displaylogo': False})
184
 
185
  # Prediction summary
186
  st.subheader("Prediction Summary")