seyia92coding
commited on
Commit
•
1ac925a
1
Parent(s):
f4eec0b
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ def gradio_music_graph(client_id, client_secret, artist_name): #total_albums
|
|
164 |
fig, ax = plt.subplots()
|
165 |
fig.set_size_inches(11, 8)
|
166 |
ax.set_xticklabels(ax.get_xticklabels(), rotation=40, ha="right")
|
167 |
-
plt.tight_layout(rect=[1,
|
168 |
|
169 |
sns.boxplot(x=df["album_name"], y=df["popularity"], ax=ax)
|
170 |
plt.show()
|
|
|
164 |
fig, ax = plt.subplots()
|
165 |
fig.set_size_inches(11, 8)
|
166 |
ax.set_xticklabels(ax.get_xticklabels(), rotation=40, ha="right")
|
167 |
+
plt.tight_layout(rect=[1, 2, 1, 0.95])
|
168 |
|
169 |
sns.boxplot(x=df["album_name"], y=df["popularity"], ax=ax)
|
170 |
plt.show()
|