ComenzarEmpieza gratis

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 ejercicio forma parte del curso

Python for Spreadsheet Users

Ver curso

Instrucciones del ejercicio

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

Ejercicio interactivo práctico

Prueba este ejercicio completando el código de muestra.

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 y ejecutar código