Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

πŸ€– Artificial Intelligence
☁️ Cloud and Infrastructure
πŸ’Ύ Data and Databases
πŸ’Ό Professional Skills
🎯 Programming and Development
πŸ”’ Security and Networking
πŸ“š Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
Β© 2026 CheatGridβ„’. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Seaborn Cheat Sheet

Seaborn Cheat Sheet

Back to Data Science
Updated 2026-04-27
Next Topic: Spatial Statistics and Interpolation Cheat Sheet

Seaborn is a statistical data visualization library built on top of Matplotlib and integrated with Pandas DataFrames, providing a high-level interface for creating informative and attractive plots. It excels at making complex statistical plots simple to create, handling aggregation, estimation, and semantic mapping automatically. Understanding the distinction between axes-level and figure-level functions is essential: axes-level functions (like scatterplot, histplot, boxplot) plot onto a single Matplotlib axes and integrate seamlessly with subplots, while figure-level functions (like relplot, displot, catplot) create entire figures with FacetGrid objects, enabling automatic faceting across variables and consistent sizing. Seaborn v0.13 introduced a major overhaul of categorical plotting functions and added the native_scale and gap parameters across the board; v0.12 introduced the declarative objects interface (seaborn.objects) as an alternative to the classic functional API.

What This Cheat Sheet Covers

This topic spans 18 focused tables and 119 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Relational PlotsTable 2: Distribution PlotsTable 3: Categorical PlotsTable 4: Regression and Matrix PlotsTable 5: Heatmap ParametersTable 6: Multi-Variable PlotsTable 7: Figure-Level GridsTable 8: Semantic Mapping ParametersTable 9: Color PalettesTable 10: Style and ContextTable 11: Statistical EstimationTable 12: Orientation and LayoutTable 13: Customization and IntegrationTable 14: Data Loading and FormatTable 15: Axes-Level vs Figure-LevelTable 16: Seaborn Objects InterfaceTable 17: Common ParametersTable 18: Advanced Customization

Table 1: Relational Plots

FunctionExampleDescription
scatterplot
sns.scatterplot(data=df, x='x', y='y', hue='category')
β€’ Axes-level scatter plot showing relationship between two numeric variables
β€’ supports hue, size, and style for semantic grouping.
lineplot
sns.lineplot(data=df, x='time', y='value', hue='group')
β€’ Axes-level line plot emphasizing continuity
β€’ automatically aggregates multiple observations per x value and shows 95% confidence interval by default.

More in Data Science

  • SciPy Cheat Sheet
  • Spatial Statistics and Interpolation Cheat Sheet
  • AB Testing and Online Experimentation Cheat Sheet
  • Design of Experiments (DOE) Cheat Sheet
  • Network Analysis with NetworkX Cheat Sheet
  • R for Data Science and Tidyverse Cheat Sheet
View all 47 topics in Data Science