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] authored and MUCDK committed Oct 9, 2023
1 parent 6e02019 commit d4a36af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/moscot/plotting/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ def _plot_temporal(
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"{categories if categories is not None else 'Cells'} at time {source if push else target} and {name}"]
titles = [
f"{categories if categories is not None else 'Cells'} at time {source if push else target} and {name}"
]
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 d4a36af

Please sign in to comment.