Python BSD-3-Clause

seaborn

Statistical data visualization in Python

M

mwaskom

Dernière activité 6 juil. 2026
mwaskom/seaborn

14 k

étoiles

2,1 k

forks

237

issues ouvertes

data-sciencedata-visualizationmatplotlibpandaspython

Ce README est souvent en anglais.



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.10+.

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:

uv pip install seaborn

It is also possible to include optional statistical dependencies:

uv 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 will be installed when running uv sync with a source checkout.

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 ruff using the settings in the pyproject.toml 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.

Projets similaires

matplotlib: plotting with Python

Pythondata-sciencedata-visualizationgtk
Mmatplotlib
23,3 k étoiles8,5 k

An open access book on scientific visualization using python and matplotlib

Pythonbookdatavizmatplotlib
Rrougier
11,6 k étoiles1 k

scikit-learn: machine learning in Python

Pythondata-analysisdata-sciencemachine-learning
Sscikit-learn
67,4 k étoiles27,5 k