Skip to content

Commit b06b80b

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

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
@@ -375,8 +375,8 @@ for continent_name, df in continent_data.items():
375375
# Text supports just one customized field per trace
376376
# and is implemented here with text=df['continent'],
377377
# Custom data supports multiple fields through numeric indices in the hovertemplate
378-
# If I were not looking for an opportunity to demonstrate the text parameter,
379-
# I would likely just add continent as a third customdata field.
378+
# In we weren't using the text parameter in our example,
379+
# we could instead add continent as a third customdata field.
380380
customdata=df[['country','pop']],
381381
hovertemplate=
382382
"<b>%{customdata[0]}</b><br>" +

0 commit comments

Comments
 (0)