Skip to main content

Statistical data visualization

Project description



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, and other useful information.

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

There is also a FAQ page, currently hosted on GitHub.

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 packages listed in ci/utils.txt.

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

The doctests require a network connection (unless all example datasets are cached), but the unit tests can be run offline with make unittests.

Code style is enforced with flake8 using the settings in the setup.cfg file. Run make lint to check.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seaborn-0.12.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

seaborn-0.12.0-py3-none-any.whl (285.1 kB view details)

Uploaded Python 3

File details

Details for the file seaborn-0.12.0.tar.gz.

File metadata

  • Download URL: seaborn-0.12.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.0

File hashes

Hashes for seaborn-0.12.0.tar.gz
Algorithm Hash digest
SHA256 893f17292d8baca616c1578ddb58eb25c72d622f54fc5ee329c8207dc9b57b23
MD5 4bd73f6559094c4ad920e7fd2ba46f93
BLAKE2b-256 0a879d713b302b7319f58e76f37fb2308377035c594b76bd50fe3696dad3a27e

See more details on using hashes here.

File details

Details for the file seaborn-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: seaborn-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 285.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.0

File hashes

Hashes for seaborn-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbeff3deef7c2515aa0af99b2c7e02dc5bf8b42c936a74d8e4b416905b549db0
MD5 336d62e4331b8bcbaa6b36887fae3b9d
BLAKE2b-256 c20314991c1f18422eb640f6fe6eadf9a675bb21d9339236d64c3d12bd0eb1a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page