{
 "kind": "tool",
 "slug": "seaborn",
 "path": "tools/seaborn/",
 "name": "Seaborn",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Charts and data visualisation",
   "tools/charts/"
  ]
 ],
 "lead": "Statistical data visualization library built on matplotlib with rich plot types.",
 "chips": [
  {
   "label": "Charts and data visualisation",
   "path": "tools/charts/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install seaborn"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/mwaskom/seaborn"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/mwaskom/seaborn"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 8, 2026",
   "note": "Latest GitHub release Jan 25, 2024. ",
   "src": "https://github.com/mwaskom/seaborn"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "60 projects",
   "status": "info",
   "sub": "#6 of 95 in its category",
   "note": "Dependency in 60 public GitHub projects set up for AI coding agents that we scanned (1.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "2 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Seaborn does",
   "parts": [
    {
     "t": "prose",
     "text": "Seaborn is a statistics-first layer over matplotlib: it works best with long-form \"tidy\" data, and every function is either an axes-level drop-in for a matplotlib method or a figure-level function that builds a whole faceted figure."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Seaborn popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "70",
       "of": "/ 100",
       "l": "Gid Score, #404 overall"
      },
      {
       "n": "7.3M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "14.1K",
       "l": "GitHub stars"
      },
      {
       "n": "60",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Seaborn is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Seaborn is a dependency in 60 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.7% of the 1,623 Python ones), #6 of 95 in charts and data visualisation.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 578; those are left out of every share on this page.",
      "The most used alternative in our scan is Plotly (56 projects).",
      "Projects that use it most often also use Matplotlib (93.3%), pandas (86.7%), NumPy (85.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "33 projects, 1.1%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "23 projects, 0.7%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "22 projects, 0.9%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "5 projects, 1.5%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 93.3% of its projects",
       "v": "Matplotlib",
       "path": "tools/matplotlib/"
      },
      {
       "l": "In 86.7% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 85.0% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 75.0% of its projects",
       "v": "scikit-learn",
       "path": "tools/scikit-learn/"
      },
      {
       "l": "In 51.7% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 46.7% of its projects",
       "v": "PyTorch",
       "path": "tools/torch/"
      },
      {
       "l": "In 45.0% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 43.3% of its projects",
       "v": "SciPy",
       "path": "tools/scipy/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "Seaborn in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Drop-in subplots or whole faceted figures",
       "v": "The FAQ says the axes-level/figure-level split serves two goals. Axes-level functions act as \"drop-in\" replacements for matplotlib methods. Figure-level functions such as <code>relplot()</code> and <code>jointplot()</code> show facets or marginal distributions on separate subplots."
      },
      {
       "l": "Tidy DataFrames map straight to plots",
       "v": "With one column per variable and one row per observation, the FAQ says you can \"succinctly and exactly specify\" a visualization."
      },
      {
       "l": "A user guide section on statistical operations",
       "v": "The tutorial has a section on statistical operations. It covers estimation and error bars, measures of spread and uncertainty, error bars on regression fits, and estimating regression fits."
      },
      {
       "l": "scipy no longer required since 0.12",
       "v": "The FAQ says seaborn itself is pure Python. It names scipy as the most common cause of compiled-library import errors. Since version 0.12, scipy has been an optional dependency."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Categorical functions treat numbers as categories",
       "v": "By default, categorical plots map values to 0-based integer positions, even when both x and y are numeric. The FAQ says this causes confusing behavior when you mix categorical and non-categorical plots, such as a combined bar-and-line plot. v0.13 added <code>native_scale</code>, which is False by default."
      },
      {
       "l": "Know which kind of function you are calling",
       "v": "The FAQ says the axes-level/figure-level distinction does not matter much for a single function call. It becomes relevant once you customize beyond what each function's API offers. The FAQ also calls it a source of other confusion."
      },
      {
       "l": "No plot window without plt.show()",
       "v": "Seaborn follows standard matplotlib practice here. In a terminal or IDE console, you may need to call <code>matplotlib.pyplot.show()</code> yourself. The FAQ notes that this call blocks by default. Jupyter's inline and widget backends call it automatically."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Install seaborn, with or without the optional stats extras"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Bash",
       "code": "uv pip install seaborn\nuv pip install seaborn[stats]"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about Seaborn",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "seaborn: Creates Seaborn statistical visualizations with pandas integration for distributions, relationships, categorical comparisons, regression dis",
        "seaborn: Statistical visualization with pandas integration. Use for quick exploration of distributions, relationships, and categorical comparisons wi"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Seaborn vs Plotly",
         "note": "used together in 16 projects",
         "path": "tools/compare/seaborn-vs-plotly/"
        }
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "matplotlib: Plotting base seaborn builds on",
        "pandas: Required DataFrame dependency",
        "numpy: Required array dependency",
        "scikit-learn: scikit-learn",
        "python-dotenv: python-dotenv",
        "pytest: Runs seaborn's own unit tests"
       ]
      },
      {
       "title": "More in Charts and data visualisation",
       "path": "tools/charts/",
       "items": [
        {
         "text": "Recharts",
         "path": "tools/recharts/"
        },
        {
         "text": "Matplotlib",
         "path": "tools/matplotlib/"
        },
        {
         "text": "Chart.js",
         "path": "tools/chart-js/"
        },
        {
         "text": "Mermaid",
         "path": "tools/mermaid/"
        },
        {
         "text": "XY Flow",
         "path": "tools/xyflow/"
        },
        {
         "text": "React Chart.js 2",
         "path": "tools/react-chartjs-2/"
        },
        {
         "text": "D3.js",
         "path": "tools/d3/"
        },
        {
         "text": "Diagrams",
         "path": "tools/diagrams/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Seaborn",
       "me": true,
       "facts": [
        "BSD",
        "Gid 70",
        "7.3M/wk"
       ]
      },
      {
       "name": "Plotly",
       "why": "Interactive data visualization library for Python with rich chart and dashboard support.",
       "path": "tools/plotly/",
       "facts": [
        "MIT",
        "Gid 73",
        "15.2M/wk"
       ]
      },
      {
       "name": "Altair",
       "why": "Declarative statistical visualization library for Python using Vega-Lite.",
       "path": "tools/altair/",
       "facts": [
        "BSD",
        "Gid 67",
        "9.9M/wk"
       ]
      },
      {
       "name": "Bokeh",
       "why": "Create interactive plots and applications in the browser from Python code.",
       "path": "tools/bokeh/",
       "facts": [
        "BSD-3-Clause",
        "Gid 59",
        "1.3M/wk"
       ]
      },
      {
       "name": "pydot",
       "why": "Python interface to Graphviz for creating and visualizing graph diagrams.",
       "path": "tools/pydot/",
       "facts": [
        "MIT",
        "Gid 53",
        "4.8M/wk"
       ]
      },
      {
       "name": "plotnine",
       "why": "Grammar of Graphics implementation for Python inspired by ggplot2.",
       "path": "tools/plotnine/",
       "facts": [
        "MIT",
        "Gid 41",
        "359K/wk"
       ]
      },
      {
       "name": "Pyvis",
       "why": "Python network graph visualization library for interactive graph and network visualizations.",
       "path": "tools/pyvis/",
       "facts": [
        "BSD",
        "Gid 46",
        "510K/wk"
       ]
      }
     ],
     "more": "Compare Seaborn with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install seaborn"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## Seaborn\n- Prefer long-form (tidy) DataFrames: one column per variable, one row per observation. The FAQ says this gets the most out of seaborn.\n- Before customizing beyond a function's own API, check whether it is axes-level (e.g. `scatterplot()`, `histplot()`) or figure-level (e.g. `relplot()`, `jointplot()`).\n- If plots do not appear in a terminal or IDE console, call `matplotlib.pyplot.show()`. It blocks by default, which may not be wanted, for example in a script that saves files to disk.\n- In notebooks, assign the result (`ax = sns.histplot(...)`) or end the line with `;` to suppress the printed object.\n- Categorical functions map values to 0-based integer positions by default, even for numeric data. On v0.13+, `native_scale=True` preserves the original properties of the grouping data.\n- Install `seaborn[stats]` when you need the optional scipy/statsmodels functionality.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi seaborn"
  ],
  [
   "Category",
   "Charts and data visualisation"
  ],
  [
   "License",
   "BSD"
  ],
  [
   "Latest version",
   "v0.13.2, January 25, 2024"
  ],
  [
   "On GitHub since",
   "June 2012"
  ],
  [
   "Gid Score",
   "69.6"
  ],
  [
   "Rank in category",
   "#6 of 95"
  ],
  [
   "GitHub",
   "mwaskom/seaborn"
  ],
  [
   "Last change",
   "Oct 8, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/mwaskom.png"
}