Skip to content

Commit

Permalink
Merge branch 'pre-commit-ci-update-config' of https://github.com/thei…
Browse files Browse the repository at this point in the history
…slab/moscot into pre-commit-ci-update-config
  • Loading branch information
Arina Danilina committed Oct 23, 2024
2 parents 27a77f4 + 885da15 commit 46f44c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default_stages:
minimum_pre_commit_version: 3.0.0
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.12.1
hooks:
- id: mypy
additional_dependencies: [numpy>=1.25.0]
Expand Down Expand Up @@ -63,7 +63,7 @@ repos:
- id: doc8
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
2 changes: 1 addition & 1 deletion src/moscot/plotting/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def _plot_scatter(
cells_with_st = adata[adata.obs[keys[0]] == st].obs[keys[1]].values
indices = list(cells_with_st) + list(cells_with_vmin) + list(cells_with_vmax)
adata_view = adata[indices, :]
size = size[indices]
size = size.iloc[indices]
else:
kwargs["color_map"] = cont_cmap
kwargs["na_color"] = na_color
Expand Down

0 comments on commit 46f44c3

Please sign in to comment.