Seaborn

Madhulika Tiwari
2 min readDec 9, 2020

Seaborn: Seaborn is a Python data visualization library based on matplotlib. It provides a highlevel interface for drawing attractive and informative statistical graphics.

Seaborn is a library for making statistical graphics in Python. It builds on top of matplotlib and integrates closely with pandas data structures.

Figure 1.1 (Seaborn)

Seaborn helps you explore and understand your data. Its plotting functions operate on dataframes and arrays containing whole datasets and internally perform the necessary semantic mapping and statistical aggregation to produce informative plots. Its dataset oriented, declarative API lets you focus on what the different elements of your plots mean, rather than on the details of how to draw them.

Keys Features

• Seaborn is a statistical plotting library

• It has beautiful default styles

• It also is designed to work very well with Pandas dataframe objects.

Installing and getting started

To install the latest release of seaborn, you can use pip:

• pip install seaborn

It’s also possible to install the released version using conda:

  • conda install seaborn

Import of Seaborn

• import seaborn as sns

Code:

Output:

Figure 1.2 (Lineplot)

--

--