MulaiMulai sekarang secara gratis

boxplots, violinplots and boxenplots

Seaborn's categorical plots also support several abstract representations of data. The API for each of these is the same so it is very convenient to try each plot and see if the data lends itself to one over the other.

In this exercise, we will use the color palette options presented in Chapter 2 to show how colors can easily be included in the plots.

Latihan ini adalah bagian dari kursus

Intermediate Data Visualization with Seaborn

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Create a boxplot
sns.____(data=df,
         x='____',
         y='____')

plt.show()
plt.clf()
Edit dan Jalankan Kode