From e8b6b00b3e4d37a2b76175530c87e48856fdd1de Mon Sep 17 00:00:00 2001 From: Eljas Roellin <65244425+eroell@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:37:13 +0100 Subject: [PATCH] Catplot fix (#2739) Co-authored-by: Philipp A --- docs/release-notes/1.9.7.md | 1 + pyproject.toml | 2 +- scanpy/plotting/_anndata.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/1.9.7.md b/docs/release-notes/1.9.7.md index 948df3602..2df82d940 100644 --- a/docs/release-notes/1.9.7.md +++ b/docs/release-notes/1.9.7.md @@ -4,3 +4,4 @@ ``` - Fix handling of numpy array palettes (e.g. after write-read cycle) {pr}`2734` {smaller}`P Angerer` - Specify correct version of `matplotlib` dependency {pr}`2733` {smaller}`P Fisher` +- Fix {func}`scanpy.pl.violin` usage of `seaborn.catplot` {pr}`2739` {smaller}`E Roellin` diff --git a/pyproject.toml b/pyproject.toml index a782f9e62..02adcfb84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ dependencies = [ # pandas 2.1.2 has pandas/issues/52927 "pandas >=1.1.1, !=2.1.2", "scipy>=1.4", - "seaborn!=0.13.0", + "seaborn>=0.13.0", "h5py>=3", "tqdm", "scikit-learn>=0.24", diff --git a/scanpy/plotting/_anndata.py b/scanpy/plotting/_anndata.py index 07f3fd2b4..032dc4158 100755 --- a/scanpy/plotting/_anndata.py +++ b/scanpy/plotting/_anndata.py @@ -803,7 +803,6 @@ def violin( col=x, col_order=keys, sharey=False, - order=keys, cut=0, inner=None, **kwds,