Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=(
|
| 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=(
|
| 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')
|