Installing and getting started

To install the released version of seaborn, you can use pip (i.e. pip install seaborn). It’s also possible to install the released version using conda (i.e. conda install seaborn), although this may lag behind the version available from PyPI.

Alternatively, you can use pip to install the development version, with the command pip install git+https://github.com/mwaskom/seaborn.git. Another option would be to to clone the github repository and install with pip install . from the source directory. Seaborn itself is pure Python, so installation should be reasonably straightforward.

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 code in the example notebooks 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, 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.