CINXE.COM

seaborn: statistical data visualization — seaborn 0.13.2 documentation

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" /> <title>seaborn: statistical data visualization &#8212; seaborn 0.13.2 documentation</title> <script> document.documentElement.dataset.mode = localStorage.getItem("mode") || "light"; document.documentElement.dataset.theme = localStorage.getItem("theme") || "light"; </script> <!-- Loaded before other Sphinx assets --> <link href="_static/styles/theme.css?digest=9b1a4fa89bdd0e95b23b" rel="stylesheet"> <link href="_static/styles/pydata-sphinx-theme.css?digest=9b1a4fa89bdd0e95b23b" rel="stylesheet"> <link rel="stylesheet" href="_static/vendor/fontawesome/5.13.0/css/all.min.css"> <link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2"> <link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2"> <link rel="stylesheet" type="text/css" href="_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="_static/plot_directive.css" /> <link rel="stylesheet" type="text/css" href="_static/copybutton.css" /> <link rel="stylesheet" type="text/css" href="_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css" /> <link rel="stylesheet" type="text/css" href="_static/css/custom.css?v=0.13.2" /> <!-- Pre-loaded scripts that we'll load fully later --> <link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=9b1a4fa89bdd0e95b23b"> <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script> <script src="_static/jquery.js"></script> <script src="_static/underscore.js"></script> <script src="_static/_sphinx_javascript_frameworks_compat.js"></script> <script src="_static/doctools.js"></script> <script src="_static/sphinx_highlight.js"></script> <script src="_static/clipboard.min.js"></script> <script src="_static/copybutton.js"></script> <script src="_static/design-tabs.js"></script> <script>DOCUMENTATION_OPTIONS.pagename = 'index';</script> <link rel="shortcut icon" href="_static/favicon.ico"/> <link rel="index" title="Index" href="genindex.html" /> <link rel="search" title="Search" href="search.html" /> <link rel="next" title="Installing and getting started" href="installing.html" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="docsearch:language" content="en"> </head> <body data-spy="scroll" data-target="#bd-toc-nav" data-offset="180" data-default-mode="light"> <input type="checkbox" class="sidebar-toggle" name="__primary" id="__primary"> <label class="overlay overlay-primary" for="__primary"></label> <input type="checkbox" class="sidebar-toggle" name="__secondary" id="__secondary"> <label class="overlay overlay-secondary" for="__secondary"></label> <div class="search-button__wrapper"> <div class="search-button__overlay"></div> <div class="search-button__search-container"> <form class="bd-search d-flex align-items-center" action="search.html" method="get"> <i class="icon fas fa-search"></i> <input type="search" class="form-control" name="q" id="search-input" placeholder="Search the docs ..." aria-label="Search the docs ..." autocomplete="off" > <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> </form> </div> </div> <nav class="bd-header navbar navbar-expand-lg bd-navbar" id="navbar-main"><div class="bd-header__inner container-xl"> <label class="sidebar-toggle primary-toggle" for="__primary"> <span class="fas fa-bars"></span> </label> <div id="navbar-start"> <a class="navbar-brand logo" href="#"> <img src="_static/logo-wide-lightbg.svg" class="logo__image only-light" alt="Logo image"> <img src="_static/logo-wide-lightbg.svg" class="logo__image only-dark" alt="Logo image"> </a> </div> <div class="col-lg-9 navbar-header-items"> <div id="navbar-center" class="mr-auto"> <div class="navbar-center-item"> <ul id="navbar-main-elements" class="navbar-nav"> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="installing.html"> Installing </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="examples/index.html"> Gallery </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="tutorial.html"> Tutorial </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="api.html"> API </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="whatsnew/index.html"> Releases </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="citing.html"> Citing </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="faq.html"> FAQ </a> </li> </ul> </div> </div> <div id="navbar-end"> <div class="navbar-end-item navbar-end__search-button-container"> <button class="btn btn-sm navbar-btn search-button search-button__button" title="Search"> <i class="fas fa-search"></i> </button> </div> <div class="navbar-end-item"> <ul id="navbar-icon-links" class="navbar-nav" aria-label="Icon Links"> <li class="nav-item"> <a href="https://github.com/mwaskom/seaborn" title="GitHub" class="nav-link" rel="noopener" target="_blank"><span><i class="fab fa-github"></i></span> <label class="sr-only">GitHub</label></a> </li> <li class="nav-item"> <a href="https://stackoverflow.com/tags/seaborn" title="StackOverflow" class="nav-link" rel="noopener" target="_blank"><span><i class="fab fa-stack-overflow"></i></span> <label class="sr-only">StackOverflow</label></a> </li> <li class="nav-item"> <a href="https://twitter.com/michaelwaskom" title="Twitter" class="nav-link" rel="noopener" target="_blank"><span><i class="fab fa-twitter"></i></span> <label class="sr-only">Twitter</label></a> </li> </ul> </div> </div> </div> <div class="search-button-container--mobile"> <button class="btn btn-sm navbar-btn search-button search-button__button" title="Search"> <i class="fas fa-search"></i> </button> </div> </div> </nav> <div class="bd-container container-xl"> <div class="bd-container__inner row"> <div class="bd-sidebar-primary bd-sidebar hide-on-wide"> <div class="sidebar-header-items sidebar-primary__section"> <p class="sidebar-header-items__title" role="heading" aria-level="1" aria-label="Navigation"> Site Navigation </p> <div class="sidebar-header-items__center"> <div class="navbar-center-item"> <ul id="navbar-main-elements" class="navbar-nav"> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="installing.html"> Installing </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="examples/index.html"> Gallery </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="tutorial.html"> Tutorial </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="api.html"> API </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="whatsnew/index.html"> Releases </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="citing.html"> Citing </a> </li> <li class="toctree-l1 nav-item"> <a class="reference internal nav-link" href="faq.html"> FAQ </a> </li> </ul> </div> </div> <div class="sidebar-header-items__end"> <div class="navbar-end-item"> <ul id="navbar-icon-links" class="navbar-nav" aria-label="Icon Links"> <li class="nav-item"> <a href="https://github.com/mwaskom/seaborn" title="GitHub" class="nav-link" rel="noopener" target="_blank"><span><i class="fab fa-github"></i></span> <label class="sr-only">GitHub</label></a> </li> <li class="nav-item"> <a href="https://stackoverflow.com/tags/seaborn" title="StackOverflow" class="nav-link" rel="noopener" target="_blank"><span><i class="fab fa-stack-overflow"></i></span> <label class="sr-only">StackOverflow</label></a> </li> <li class="nav-item"> <a href="https://twitter.com/michaelwaskom" title="Twitter" class="nav-link" rel="noopener" target="_blank"><span><i class="fab fa-twitter"></i></span> <label class="sr-only">Twitter</label></a> </li> </ul> </div> </div> </div> <div class="sidebar-end-items sidebar-primary__section"> <div class="sidebar-end-items__item"> </div> </div> </div> <div class="bd-content col"> <div class="bd-header-article"> </div> <article class="bd-article" role="main"> <section id="seaborn-statistical-data-visualization"> <h1>seaborn: statistical data visualization<a class="headerlink" href="#seaborn-statistical-data-visualization" title="Permalink to this heading">#</a></h1> <div class="sd-container-fluid sd-sphinx-override sd-mb-4 docutils"> <div class="sd-row sd-row-cols-6 sd-row-cols-xs-6 sd-row-cols-sm-6 sd-row-cols-md-6 sd-row-cols-lg-6 sd-g-1 sd-g-xs-1 sd-g-sm-1 sd-g-md-1 sd-g-lg-1 docutils"> <div class="sd-col sd-d-flex-column docutils"> <a class="reference external image-reference" href="./examples/scatterplot_matrix.html"><img alt="_images/scatterplot_matrix_thumb.png" src="_images/scatterplot_matrix_thumb.png" /></a> </div> <div class="sd-col sd-d-flex-column docutils"> <a class="reference external image-reference" href="examples/errorband_lineplots.html"><img alt="_images/errorband_lineplots_thumb.png" src="_images/errorband_lineplots_thumb.png" /></a> </div> <div class="sd-col sd-d-flex-column docutils"> <a class="reference external image-reference" href="examples/scatterplot_sizes.html"><img alt="_images/scatterplot_sizes_thumb.png" src="_images/scatterplot_sizes_thumb.png" /></a> </div> <div class="sd-col sd-d-flex-column docutils"> <a class="reference external image-reference" href="examples/timeseries_facets.html"><img alt="_images/timeseries_facets_thumb.png" src="_images/timeseries_facets_thumb.png" /></a> </div> <div class="sd-col sd-d-flex-column docutils"> <a class="reference external image-reference" href="examples/horizontal_boxplot.html"><img alt="_images/horizontal_boxplot_thumb.png" src="_images/horizontal_boxplot_thumb.png" /></a> </div> <div class="sd-col sd-d-flex-column docutils"> <a class="reference external image-reference" href="examples/regression_marginals.html"><img alt="_images/regression_marginals_thumb.png" src="_images/regression_marginals_thumb.png" /></a> </div> </div> </div> <div class="sd-container-fluid sd-sphinx-override sd-mb-4 docutils"> <div class="sd-row sd-row-cols-1 sd-row-cols-xs-1 sd-row-cols-sm-1 sd-row-cols-md-3 sd-row-cols-lg-3 docutils"> <div class="sd-col sd-d-flex-column sd-col-12 sd-col-xs-12 sd-col-sm-12 sd-col-md-6 sd-col-lg-6 docutils"> <p>Seaborn is a Python data visualization library based on <a class="reference external" href="https://matplotlib.org">matplotlib</a>. It provides a high-level interface for drawing attractive and informative statistical graphics.</p> <p>For a brief introduction to the ideas behind the library, you can read the <a class="reference internal" href="tutorial/introduction.html"><span class="doc">introductory notes</span></a> or the <a class="reference external" href="https://joss.theoj.org/papers/10.21105/joss.03021">paper</a>. Visit the <a class="reference internal" href="installing.html"><span class="doc">installation page</span></a> to see how you can download the package and get started with it. You can browse the <a class="reference internal" href="examples/index.html"><span class="doc">example gallery</span></a> to see some of the things that you can do with seaborn, and then check out the <a class="reference internal" href="tutorial.html"><span class="doc">tutorials</span></a> or <a class="reference internal" href="api.html"><span class="doc">API reference</span></a> to find out how.</p> <p>To see the code or report a bug, please visit the <a class="reference external" href="https://github.com/mwaskom/seaborn">GitHub repository</a>. General support questions are most at home on <a class="reference external" href="https://stackoverflow.com/questions/tagged/seaborn/">stackoverflow</a>, which has a dedicated channel for seaborn.</p> </div> <div class="sd-col sd-d-flex-row sd-col-12 sd-col-xs-12 sd-col-sm-12 sd-col-md-2 sd-col-lg-2 docutils"> <div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm docutils"> <div class="sd-card-body sd-pl-4 docutils"> <div class="sd-card-title sd-font-weight-bold sd-fs-5 docutils"> Contents</div> <div class="toctree-wrapper compound"> <ul> <li class="toctree-l1"><a class="reference internal" href="installing.html">Installing</a></li> <li class="toctree-l1"><a class="reference internal" href="examples/index.html">Gallery</a></li> <li class="toctree-l1"><a class="reference internal" href="tutorial.html">Tutorial</a></li> <li class="toctree-l1"><a class="reference internal" href="api.html">API</a></li> <li class="toctree-l1"><a class="reference internal" href="whatsnew/index.html">Releases</a></li> <li class="toctree-l1"><a class="reference internal" href="citing.html">Citing</a></li> <li class="toctree-l1"><a class="reference internal" href="faq.html">FAQ</a></li> </ul> </div> </div> </div> </div> <div class="sd-col sd-d-flex-row sd-col-12 sd-col-xs-12 sd-col-sm-12 sd-col-md-4 sd-col-lg-4 docutils"> <div class="sd-card sd-sphinx-override sd-w-100 sd-shadow-sm docutils"> <div class="sd-card-body sd-pl-3 docutils"> <div class="sd-card-title sd-font-weight-bold sd-fs-5 docutils"> Features</div> <ul class="simple"> <li><p class="sd-card-text"><span class="sd-sphinx-override sd-badge sd-bg-secondary sd-bg-text-secondary">New</span> Objects: <a class="reference internal" href="api.html#objects-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/objects_interface.html"><span class="doc">Tutorial</span></a></p></li> <li><p class="sd-card-text">Relational plots: <a class="reference internal" href="api.html#relational-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/relational.html"><span class="doc">Tutorial</span></a></p></li> <li><p class="sd-card-text">Distribution plots: <a class="reference internal" href="api.html#distribution-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/distributions.html"><span class="doc">Tutorial</span></a></p></li> <li><p class="sd-card-text">Categorical plots: <a class="reference internal" href="api.html#categorical-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/categorical.html"><span class="doc">Tutorial</span></a></p></li> <li><p class="sd-card-text">Regression plots: <a class="reference internal" href="api.html#regression-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/regression.html"><span class="doc">Tutorial</span></a></p></li> <li><p class="sd-card-text">Multi-plot grids: <a class="reference internal" href="api.html#grid-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/axis_grids.html"><span class="doc">Tutorial</span></a></p></li> <li><p class="sd-card-text">Figure theming: <a class="reference internal" href="api.html#style-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/aesthetics.html"><span class="doc">Tutorial</span></a></p></li> <li><p class="sd-card-text">Color palettes: <a class="reference internal" href="api.html#palette-api"><span class="std std-ref">API</span></a> | <a class="reference internal" href="tutorial/color_palettes.html"><span class="doc">Tutorial</span></a></p></li> </ul> </div> </div> </div> </div> </div> </section> </article> </div> </div> </div> <!-- Scripts loaded after <body> so the DOM is not blocked --> <script src="_static/scripts/pydata-sphinx-theme.js?digest=9b1a4fa89bdd0e95b23b"></script> <footer class="footer" style="border-top: 1px solid #ccc; padding-top: 10px"> <div class="container"> <div id="credits" style="width: 50%; float: left"> <p> &#169; Copyright 2012-2024, <a href="https://mwaskom.github.io/">Michael Waskom</a>.<br/> Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> and the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/">PyData Theme</a>.<br/> </p> </div> <div class="dropup show" style="float: right; margin: 10px"> <a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Archive </a> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuLink"> <a class="dropdown-item" href="/archive/0.12/index.html">v0.12</a> <a class="dropdown-item" href="/archive/0.11/index.html">v0.11</a> <a class="dropdown-item" href="/archive/0.10/index.html">v0.10</a> <a class="dropdown-item" href="/archive/0.9/index.html">v0.9</a> </div> </div> <div id="version" style="color: #999; float: right; margin: 15px">v0.13.2</div> </div> </div> </footer> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10