LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Intermediate Data Visualization with Seaborn

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

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

plt.show()
plt.clf()
Code bearbeiten und ausführen