From 6f37cb1ee1ed714898f1c1088d0c7a063fe7166d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 07:04:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/moscot/plotting/_utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/moscot/plotting/_utils.py b/src/moscot/plotting/_utils.py index 277ad621f..358ae5fa2 100644 --- a/src/moscot/plotting/_utils.py +++ b/src/moscot/plotting/_utils.py @@ -429,10 +429,10 @@ def _plot_scatter( titles = [f"{categories if categories is not None else 'Cells'} at time {source if push else target}"] titles.extend([f"{name} at time {time_points[i]}" for i in range(1, len(time_points))]) else: - titles = ([ - f"{'Push' if push else 'Pull'} {categories if categories is not None else 'cells'} " - + f"from {source if push else target} to {target if push else source}" - ]) + titles = [ + f"{'Push' if push else 'Pull'} {categories if categories is not None else 'cells'} " + + f"from {source if push else target} to {target if push else source}" + ] for i, ax in enumerate(axs): # we need to create adata_view because otherwise the view of the adata is copied in the next step i+1 with RandomKeys(adata, n=2, where="obs") as keys: