seyia92coding
commited on
Commit
•
a4ec2d1
1
Parent(s):
d419133
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=25, ha="right")
|
167 |
-
plt.tight_layout(rect=[1, 2, 1, 0.
|
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=25, ha="right")
|
167 |
+
plt.tight_layout(rect=[1, 2.5, 1, 0.45]) #(left, bottom, right, top)
|
168 |
|
169 |
sns.boxplot(x=df["album_name"], y=df["popularity"], ax=ax)
|
170 |
plt.show()
|