seyia92coding
commited on
Commit
•
d419133
1
Parent(s):
1ac925a
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=
|
167 |
plt.tight_layout(rect=[1, 2, 1, 0.95])
|
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")
|
167 |
plt.tight_layout(rect=[1, 2, 1, 0.95])
|
168 |
|
169 |
sns.boxplot(x=df["album_name"], y=df["popularity"], ax=ax)
|