Categorical plots
A categorical plot is used when one of the two variables being plotted is categorical, instead of both being continuous. Seaborn enhances a few of the categorical plots provided by Matplotlib and also adds a few additional ones. We will cover five such groups of plots in this section.
Seaborn provides one common API, catplot(), to cover all such plots. This makes it easier to familiarize yourself with a common set of arguments that can be passed to plot all types of categorical plots. However, each of the different functions can be used directly, and at times some of them may offer unique features that are not common to all types of plots. Please refer to the documentation on each of the specific plots at https://seaborn.pydata.org/api.html ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access