Label your axes!
It's very important to label your axes. Continuing with our genre_totals
barplot from the last exercise, let's continue building upon it here.
Cet exercice fait partie du cours
Python for Spreadsheet Users
Instructions
- Label your x-axis
Movie Genre
. - Label your y-axis
Revenue (USD)
.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
sns.barplot(x='movie_genre', y='revenue', data=genre_totals)
plt.title('Revenue by Genre')
# Add x axis label
# Add y axis label
plt.show()