MCPcopy
hub / github.com/mwaskom/seaborn

github.com/mwaskom/seaborn @v0.13.2 sqlite

repository ↗ · DeepWiki ↗ · release v0.13.2 ↗
2,935 symbols 11,525 edges 152 files 505 documented · 17%
README


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

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:

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.

Core symbols most depended-on inside this repo

add
called by 182
seaborn/_core/plot.py
color_palette
called by 129
seaborn/palettes.py
histplot
called by 117
seaborn/distributions.py
kdeplot
called by 113
seaborn/distributions.py
join
called by 102
seaborn/_core/data.py
categorical_order
called by 88
seaborn/_base.py
set
called by 69
seaborn/rcmod.py
scatterplot
called by 61
seaborn/relational.py

Shape

Method 2,313
Function 336
Class 282
Route 4

Languages

Python100%

Modules by API surface

tests/test_categorical.py271 symbols
tests/_core/test_plot.py245 symbols
tests/test_distributions.py194 symbols
tests/test_axisgrid.py124 symbols
tests/_core/test_scales.py117 symbols
tests/test_relational.py99 symbols
tests/test_matrix.py93 symbols
tests/test_statistics.py86 symbols
tests/_core/test_properties.py86 symbols
seaborn/_core/scales.py86 symbols
tests/test_base.py77 symbols
seaborn/_core/properties.py70 symbols

Dependencies from manifests, versioned

pandas1.2 · 1×

For agents

$ claude mcp add seaborn \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact