Skip to main content



seaborn: statistical data visualization

PyPI Version License DOI Tests Code Coverage

Seaborn is a Python visualization library based on matplotlib. It provides a high-level interface for drawing attractive statistical graphics.

Documentation

Online documentation is available at seaborn.pydata.org.

The docs include a tutorial, example gallery, API reference, FAQ, and other useful information.

To build the documentation locally, please refer to doc/README.md.

Dependencies

Seaborn supports Python 3.7+ and no longer supports Python 2.

Installation requires numpy, pandas, and matplotlib. Some advanced statistical functionality requires scipy and/or statsmodels.

Installation

The latest stable release (and required dependencies) can be installed from PyPI:

pip install seaborn

It is also possible to include optional statistical dependencies (only relevant for v0.12+):

pip install seaborn[stats]

Seaborn can also be installed with conda:

conda install seaborn

Note that the main anaconda repository lags PyPI in adding new releases, but conda-forge (-c conda-forge) typically updates quickly.

Citing

A paper describing seaborn has been published in the Journal of Open Source Software. The paper provides an introduction to the key features of the library, and it can be used as a citation if seaborn proves integral to a scientific publication.

Testing

Testing seaborn requires installing additional dependencies; they can be installed with the dev extra (e.g., pip install .[dev]).

To test the code, run make test in the source directory. This will exercise the unit tests (using pytest) and generate a coverage report.

Code style is enforced with flake8 using the settings in the setup.cfg file. Run make lint to check. Alternately, you can use pre-commit to automatically run lint checks on any files you are committing: just run pre-commit install to set it up, and then commit as usual going forward.

Development

Seaborn development takes place on Github: https://github.com/mwaskom/seaborn

Please submit bugs that you encounter to the issue tracker with a reproducible example demonstrating the problem. Questions about usage are more at home on StackOverflow, where there is a seaborn tag.

Release files for seaborn 0.12.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seaborn 0.12.2
File Size Uploaded
seaborn-0.12.2.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for seaborn 0.12.2
File Interpreter ABI Platform
seaborn-0.12.2-py3-none-any.whl Python 3 none any Details

Total release size:1.7 MB

Release files / seaborn-0.12.2.tar.gz

Download URL seaborn-0.12.2.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
374645f36509d0dcab895cba5b47daf0586f77bfe3b36c97c607db7da5be0139
BLAKE2b-256 checksum
How to use checksums
8a775cde8bc47df770486acf64f550839b4136d1696e5e4d57ce33fa1823972b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / seaborn-0.12.2-py3-none-any.whl

Download URL seaborn-0.12.2-py3-none-any.whl
Size 293.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebf15355a4dba46037dfd65b7350f014ceb1f13c05e814eda2c9f5fd731afc08
BLAKE2b-256 checksum
How to use checksums
8f2e17bbb83fbf102687bb2aa3d808add39da820a7698159302a1a69bb82e01c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page