ComeçarComece de graça

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.

Este exercício faz parte do curso

Python for Spreadsheet Users

Ver curso

Instruções do exercício

  • Label your x-axis Movie Genre.
  • Label your y-axis Revenue (USD).

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

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()
Editar e executar o código