Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 20, 2024
1 parent eb930fb commit 6f37cb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/moscot/plotting/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6f37cb1

Please sign in to comment.