Multichem commited on
Commit
36501be
·
verified ·
1 Parent(s): 2334a98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -704,7 +704,7 @@ with tab3:
704
 
705
  if plot_count == "One":
706
  graph_data = working_data.reindex(['Date', plot_var1],axis="columns")
707
- fig, ax1 = plt.subplots(figsize=(5, 5), layout='tight')
708
 
709
  color = 'tab:blue'
710
  ax1.set_xlabel('Date')
@@ -717,7 +717,7 @@ with tab3:
717
  st.image(buf)
718
  elif plot_count == "Two":
719
  graph_data = working_data.reindex(['Date', plot_var1, plot_var2],axis="columns")
720
- fig, ax1 = plt.subplots(figsize=(5, 5), layout='tight')
721
 
722
  color = 'tab:blue'
723
  ax1.set_xlabel('Date')
 
704
 
705
  if plot_count == "One":
706
  graph_data = working_data.reindex(['Date', plot_var1],axis="columns")
707
+ fig, ax1 = plt.subplots(figsize=(10, 5), layout='tight')
708
 
709
  color = 'tab:blue'
710
  ax1.set_xlabel('Date')
 
717
  st.image(buf)
718
  elif plot_count == "Two":
719
  graph_data = working_data.reindex(['Date', plot_var1, plot_var2],axis="columns")
720
+ fig, ax1 = plt.subplots(figsize=(10, 5), layout='tight')
721
 
722
  color = 'tab:blue'
723
  ax1.set_xlabel('Date')