Skip to content

Commit fb060bd

Browse files
authored
Update doc/python/hover-text-and-formatting.md
1 parent 7c4b954 commit fb060bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/hover-text-and-formatting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ for continent_name, df in continent_data.items():
372372
name=continent_name,
373373
374374
# The next three parameters specify the hover text
375-
# Text supports just one customized field per trace, but is simple to implement
376-
text=df['continent'],
375+
# Text supports just one customized field per trace
376+
# and is implemented here with text=df['continent'],
377377
# Custom data supports multiple fields through numeric indices in the hovertemplate
378378
# If I were not looking for an opportunity to demonstrate the text parameter,
379379
# I would likely just add continent as a third customdata field.

0 commit comments

Comments
 (0)