Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ruff format
  • Loading branch information
FBumann committed Dec 6, 2025
commit 037a35a7925b81ae0863826a7fbacaf0ab1d3221
4 changes: 3 additions & 1 deletion plotly/express/_imshow.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ def imshow(
nslices_animation = img.shape[animation_frame]
animation_slices = range(nslices_animation)
slice_dimensions = (
(facet_col is not None) + (facet_row is not None) + (animation_frame is not None)
(facet_col is not None)
+ (facet_row is not None)
+ (animation_frame is not None)
) # 0, 1, 2, or 3
facet_col_label = None
facet_row_label = None
Expand Down