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

Scorri per mostrare il menu

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.

Compito

Swipe to start coding

Import the seaborn library with the sns alias.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 5. Capitolo 1
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

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.

Compito

Swipe to start coding

Import the seaborn library with the sns alias.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 5. Capitolo 1
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt