From d00710d293620b28668115c26feefe4b1c16ba51 Mon Sep 17 00:00:00 2001 From: zethson Date: Tue, 27 Feb 2024 13:36:26 +0100 Subject: [PATCH] matplotlib unpun Signed-off-by: zethson --- panpipes/funcs/plotting.py | 3 ++- pyproject.toml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panpipes/funcs/plotting.py b/panpipes/funcs/plotting.py index b5931be3..6e68e588 100644 --- a/panpipes/funcs/plotting.py +++ b/panpipes/funcs/plotting.py @@ -310,8 +310,9 @@ def ridgeplot(adata, features, layer=None, splitplot=3, bandwidth=0.1): ax.yaxis.set_tick_params(labelleft=True) ax.set_yticks(np.arange(len(features_sub))) ax.set_yticklabels(features_sub) + for tick in ax.get_yticklabels(): + tick.set_fontsize(10) for tick in ax.yaxis.get_major_ticks(): - tick.label.set_fontsize(10) tick.label.set_verticalalignment("bottom") fig.tight_layout() diff --git a/pyproject.toml b/pyproject.toml index 0094402e..1951d6af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,6 @@ dependencies = [ "scrublet", "scvi-tools>=1.1.1", "sqlalchemy", - "matplotlib<=3.7.3" # pin to be removed in the future ] [project.optional-dependencies]