Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Seaborn Introduction | Plotting with Seaborn
Ultimate Visualization with Python
course content

Conteúdo do Curso

Ultimate Visualization with Python

Ultimate Visualization with Python

1. Matplotlib Introduction
2. Creating Commonly Used Plots
3. Plots Customization
4. More Statistical Plots
5. Plotting with Seaborn

book
Seaborn Introduction

Seaborn is a high-level plotting library based on matplotlib. Let’s have a look at its advantages in comparison to matplotlib:

  • simpler interface;
  • a wide range of default styles and color palettes;
  • works well with pandas DataFrame;
  • a wide range of built-in statistical functions.

Here is an example of a plot created using seaborn with just one line of code:

Apparently, everything you can accomplish using seaborn can be also done with matplotlib, yet it may often take more time and effort.

However, matplotlib being a rather low-level library in comparison, offers more flexibility for your plots, so if you need to create a rather unique plot with a lot of customizations, matplotlib is still the best choice.

Tarefa
test

Swipe to show code editor

Import the seaborn library with the sns alias.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 5. Capítulo 1
toggle bottom row

book
Seaborn Introduction

Seaborn is a high-level plotting library based on matplotlib. Let’s have a look at its advantages in comparison to matplotlib:

  • simpler interface;
  • a wide range of default styles and color palettes;
  • works well with pandas DataFrame;
  • a wide range of built-in statistical functions.

Here is an example of a plot created using seaborn with just one line of code:

Apparently, everything you can accomplish using seaborn can be also done with matplotlib, yet it may often take more time and effort.

However, matplotlib being a rather low-level library in comparison, offers more flexibility for your plots, so if you need to create a rather unique plot with a lot of customizations, matplotlib is still the best choice.

Tarefa
test

Swipe to show code editor

Import the seaborn library with the sns alias.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 5. Capítulo 1
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt