Installing and getting started

To install the latest release of seaborn, you can use pip:

pip install seaborn

It’s also possible to install the released version using conda:

conda install seaborn

Alternatively, you can use pip to install the development version directly from github:

pip install git+https://github.com/mwaskom/seaborn.git

Another option would be to to clone the github repository install from your local copy:

pip install .

Dependencies

  • Python 2.7 or 3.4+

Mandatory dependencies

Testing

To test seaborn, run make test in the root directory of the source distribution. This runs the unit test suite (which can also be exercised separately by running nosetests). It also runs the example code in function docstrings to smoke-test a broader and more realistic range of example usage.

The full set of tests requires an internet connection to download the example datasets (if they haven’t been previously cached), but the unit tests should be able to run offline.

Bugs

Please report any bugs you encounter through the github issue tracker. It will be most helpful to include a reproducible example on one of the example datasets (accessed through load_dataset()). It is difficult debug any issues without knowing the versions of seaborn and matplotlib you are using, as well as what matplotlib backend you are using to draw the plots, so please include those in your bug report.

Known issues

An unfortunate consequence of how the matplotlib marker styles work is that line-art markers (e.g. "+") or markers with facecolor set to "none" will be invisible when the default seaborn style is in effect. This can be changed by using a different markeredgewidth (aliased to mew) either in the function call or globally in the rcParams.