seaborn

Page content
  • seaborn is a popular Python data visualization library.

  • Installation: pip install seaborn

  • Import: import seaborn as sns

  • Choosing color palettes

1. Scatter Plot

2. Line Plot

  • seaborn.lineplot draws a line plot with possibility of several semantic groupings.

3. Histogram

  • seaborn.histplot plots univariate or bivariate histograms to show distributions of datasets.

4. Bar Plot

5. Box Plot

  • seaborn.boxplot draws a box plot to show distributions with respect to categories.

6. Heatmap

7. Pair Plot

8. Violin Plot

9. Swarm Plot

  • seaborn.swarmplot draws a categorical scatterplot with points adjusted to be non-overlapping.

Updated by Fatma on April 06, 2023