Spaces:
Runtime error
Runtime error
bug fix
Browse files
app.py
CHANGED
@@ -88,7 +88,8 @@ def generate_plot(df):
|
|
88 |
axs[0, 1].plot(df.loc[df['Group'] == '7', 'Date'], df.loc[df['Group'] == '4', 'pred'], color = 'red')
|
89 |
axs[1, 0].plot(df.loc[df['Group'] == '1', 'Date'], df.loc[df['Group'] == '4', 'pred'], color = 'red')
|
90 |
axs[1, 1].plot(df.loc[df['Group'] == '6', 'Date'], df.loc[df['Group'] == '4', 'pred'], color = 'red')
|
91 |
-
|
|
|
92 |
plt.tight_layout()
|
93 |
return fig, axs
|
94 |
|
|
|
88 |
axs[0, 1].plot(df.loc[df['Group'] == '7', 'Date'], df.loc[df['Group'] == '4', 'pred'], color = 'red')
|
89 |
axs[1, 0].plot(df.loc[df['Group'] == '1', 'Date'], df.loc[df['Group'] == '4', 'pred'], color = 'red')
|
90 |
axs[1, 1].plot(df.loc[df['Group'] == '6', 'Date'], df.loc[df['Group'] == '4', 'pred'], color = 'red')
|
91 |
+
|
92 |
+
plt.xticks(rotation=45)
|
93 |
plt.tight_layout()
|
94 |
return fig, axs
|
95 |
|