seyia92coding
commited on
Commit
•
b1c40f0
1
Parent(s):
a4ec2d1
Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ def gradio_music_graph(client_id, client_secret, artist_name): #total_albums
|
|
163 |
|
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)
|
|
|
163 |
|
164 |
fig, ax = plt.subplots()
|
165 |
fig.set_size_inches(11, 8)
|
166 |
+
ax.set_xticklabels(ax.get_xticklabels(), rotation=25, ha="right", wrap=True)
|
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)
|