Multichem commited on
Commit
ec2b4f3
·
verified ·
1 Parent(s): 3e4c6a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -754,7 +754,7 @@ with tab3:
754
 
755
  if plot_count == "One":
756
  graph_data = working_data.reindex(['Date', plot_var1],axis="columns")
757
- disp_data = graph_data.drop(['Date'])
758
  fig, ax1 = plt.subplots(figsize=(20, 10), layout='tight')
759
 
760
  color = 'tab:blue'
@@ -769,7 +769,7 @@ with tab3:
769
  st.table(disp_data.mean())
770
  elif plot_count == "Two":
771
  graph_data = working_data.reindex(['Date', plot_var1, plot_var2],axis="columns")
772
- disp_data = graph_data.drop(['Date'])
773
  fig, ax1 = plt.subplots(figsize=(20, 10), layout='tight')
774
 
775
  color = 'tab:blue'
@@ -793,7 +793,7 @@ with tab3:
793
  st.table(disp_data.mean())
794
  elif plot_count == "Three":
795
  graph_data = working_data.reindex(['Date', plot_var1, plot_var2, plot_var3],axis="columns")
796
- disp_data = graph_data.drop(['Date'])
797
  fig, ax1 = plt.subplots(figsize=(20, 10), layout='tight')
798
 
799
  color = 'tab:blue'
 
754
 
755
  if plot_count == "One":
756
  graph_data = working_data.reindex(['Date', plot_var1],axis="columns")
757
+ disp_data = working_data.drop(['Date'])
758
  fig, ax1 = plt.subplots(figsize=(20, 10), layout='tight')
759
 
760
  color = 'tab:blue'
 
769
  st.table(disp_data.mean())
770
  elif plot_count == "Two":
771
  graph_data = working_data.reindex(['Date', plot_var1, plot_var2],axis="columns")
772
+ disp_data = working_data.drop(['Date'])
773
  fig, ax1 = plt.subplots(figsize=(20, 10), layout='tight')
774
 
775
  color = 'tab:blue'
 
793
  st.table(disp_data.mean())
794
  elif plot_count == "Three":
795
  graph_data = working_data.reindex(['Date', plot_var1, plot_var2, plot_var3],axis="columns")
796
+ disp_data = working_data.drop(['Date'])
797
  fig, ax1 = plt.subplots(figsize=(20, 10), layout='tight')
798
 
799
  color = 'tab:blue'