Aan de slagBegin 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.

Deze oefening maakt deel uit van de cursus

Intermediate Data Visualization with Seaborn

Bekijk cursus

Interactieve oefening met praktijkervaring

Probeer deze oefening door deze voorbeeldcode aan te vullen.

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

plt.show()
plt.clf()
Code bewerken en uitvoeren