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 Dec 19, 2023
1 parent 906f77a commit f736d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napari_clusters_plotter/_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ def generate_cluster_image(label_image, label_list, predictionlist):
# we take the maximum of either the labels in the image
# or the labels in the list to take care of the case, where
# the label list contains labels not in the image
int(max([label_image.max(), np.max(label_list)])) + 1,
dtype=np.uint32
int(max([label_image.max(), np.max(label_list)])) + 1,
dtype=np.uint32,
)
plist[label_list] = predictionlist_new

Expand Down

0 comments on commit f736d3b

Please sign in to comment.