Skip to content

Commit cace17e

Browse files
Merge pull request #3454 from mkcor/patch-1
Fix missing whitespaces in imshow error message.
2 parents f8b76fe + 2d4db60 commit cace17e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/python/plotly/plotly/express/_imshow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ def imshow(
510510
else:
511511
raise ValueError(
512512
"px.imshow only accepts 2D single-channel, RGB or RGBA images. "
513-
"An image of shape %s was provided."
514-
"Alternatively, 3- or 4-D single or multichannel datasets can be"
513+
"An image of shape %s was provided. "
514+
"Alternatively, 3- or 4-D single or multichannel datasets can be "
515515
"visualized using the `facet_col` or/and `animation_frame` arguments."
516516
% str(img.shape)
517517
)

0 commit comments

Comments
 (0)