Circhastic commited on
Commit
3b07e33
1 Parent(s): 102b083

Debug graphs hotfix

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -383,8 +383,7 @@ if (st.session_state.uploaded):
383
  with col_charts[1]:
384
  fig_forecast = go.Figure()
385
  fig_forecast.add_trace(go.Scatter(x=merged_data[merged_data.columns[0]], y=merged_data['Actual Sales'], mode='lines', name='Actual Sales'))
386
- fig_forecast.add_trace(go.Scatter(x=merged_data[merged_data.columns[0]], y=merged_data['Forecasted Future Sales'], mode='lines', name='Forecasted Future Sales'))
387
- fig_forecast.add_trace(go.Scatter(x=merged_data[merged_data.columns[0]], y=merged_data['Forecasted Sales'], mode='lines', name='Forecasted Sales', line=dict(color=mape_color)))
388
  fig_forecast.update_layout(title='Forecasted Sales Data', xaxis_title='Date', yaxis_title='Sales')
389
  # fig_forecast.update_xaxes(range=[min_date, max_date])
390
  st.plotly_chart(fig_forecast, use_container_width=True)
 
383
  with col_charts[1]:
384
  fig_forecast = go.Figure()
385
  fig_forecast.add_trace(go.Scatter(x=merged_data[merged_data.columns[0]], y=merged_data['Actual Sales'], mode='lines', name='Actual Sales'))
386
+ fig_forecast.add_trace(go.Scatter(x=merged_data[merged_data.columns[0]], y=merged_data['Forecasted Future Sales'], mode='lines', name='Forecasted Sales', line=dict(color=mape_color)))
 
387
  fig_forecast.update_layout(title='Forecasted Sales Data', xaxis_title='Date', yaxis_title='Sales')
388
  # fig_forecast.update_xaxes(range=[min_date, max_date])
389
  st.plotly_chart(fig_forecast, use_container_width=True)