8000 Update hover-text-and-formatting.md by rl-utility-man · Pull Request #4557 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

Update hover-text-and-formatting.md #4557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 24, 2024
Prev Previous commit
Next Next commit
Update doc/python/hover-text-and-formatting.md
Co-authored-by: Adam <adam@plot.ly>
  • Loading branch information
LiamConnors and Coding-with-Adam authored Apr 22, 2024
commit 7c4b95474a5c96f015665623e05a6ecb5c35d30a
2 changes: 1 addition & 1 deletion doc/python/hover-text-and-formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ fig=px.scatter(df,
custom_data=['country', 'continent', 'pop'],
)

# Plotly express does not have a hovertemplate paramter in the graph creation function, so we apply the template with update_traces
# Plotly express does not have a hovertemplate parameter in the graph creation function, so we apply the template with update_traces
fig.update_traces(
hovertemplate =
"<b>%{customdata[0]}</b><br>" +
Expand Down
0