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: