Seaborn in Python
(Using Jupyter Notebook)
Seaborn is a library for making statistical graphics in Python. It is built on top of matplotlib and closely integrated with pandas data structures. Seaborn aims to make visualization a central part of exploring and understanding data. Its dataset-oriented plotting functions operate on dataframes and arrays containing whole datasets and internally perform the necessary semantic mapping and statistical aggregation to produce informative plots.
To view its working, open Jupyter Notebook and create one. After creating new notebook, here are some steps to follow.
Firstly, import following libraries.
To use .csv file,
Now call this dataset, to view it.
Now, use ‘seaborn’ for graphical representation.
For ‘regplot’ :
For ‘catplot’ :
If we use random numbers :
Now use ‘seaborn’ view it graphically.
To change color:
To assign ‘name’ to x-axis :
To change position :
Ignoring histogram :
For rug plot :
Readers! here are some uses to ‘seaborn in python’. If you like my article, don’t forget to clap.
Thank You