Skip to content

Commit 037a35a

Browse files
committed
ruff format
1 parent 77cbee0 commit 037a35a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plotly/express/_imshow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ def imshow(
272272
nslices_animation = img.shape[animation_frame]
273273
animation_slices = range(nslices_animation)
274274
slice_dimensions = (
275-
(facet_col is not None) + (facet_row is not None) + (animation_frame is not None)
275+
(facet_col is not None)
276+
+ (facet_row is not None)
277+
+ (animation_frame is not None)
276278
) # 0, 1, 2, or 3
277279
facet_col_label = None
278280
facet_row_label = None

0 commit comments

Comments
 (0)