Skip to content

Commit b11e3c0

Browse files
PR feedback
1 parent 5ce699d commit b11e3c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/python/plotly/plotly/express/_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@
594594
text_auto=[
595595
"bool or string (default `False`)",
596596
"If `True` or a string, the x or y or z values will be displayed as text, depending on the orientation",
597-
"A string like `'.2f'`, it will be interpreted as a `texttemplate` numeric formatting directive.",
597+
"A string like `'.2f'` will be interpreted as a `texttemplate` numeric formatting directive.",
598598
],
599599
)
600600

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ def imshow(
391391
+ "dimension of the img matrix."
392392
)
393393

394+
texttemplate = None
394395
if text_auto is True:
395396
texttemplate = "%{z}"
396397
elif text_auto is not False:

0 commit comments

Comments
 (0)