Skip to content

Commit

Permalink
FIX: only annotate if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineTheb committed Feb 23, 2024
1 parent 74275e7 commit 4f7fd8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scilpy/viz/scene_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,8 @@ def _compute_overlap_length(length, _overlap):
labelmap_cmap_name=labelmap_cmap_name,
)

annotate_scene(mosaic, slice_number, display_slice_number, display_lr)
if display_slice_number or display_lr:
annotate_scene(
mosaic, slice_number, display_slice_number, display_lr)

return mosaic

0 comments on commit 4f7fd8f

Please sign in to comment.