BaşlayınÜcretsiz Başlayın

Put a title on it

Let's take our genre_totals barplot from the last chapter and improve it with better labels, less boarders, and a preset style. First, let's add a title.

Note that seaborn and matplotlib.pyplot have been loaded for you as sns and plt, respectively.

Bu egzersiz

Python for Spreadsheet Users

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Use sns.barplot() to create a graph of genre_totals with movie_genre on the x axis and revenue on the y-axis.
  • Add the title Revenue by Genre to the plot using the correct plt function.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Create barplot


# Add a title
plt.____(____)

plt.show()
Kodu Düzenle ve Çalıştır