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 1e63ed46a39e5cc865a3a0573bada777b50e9f06
2 changes: 1 addition & 1 deletion doc/python/hover-text-and-formatting.md
90C3
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ fig=px.scatter(df,
y='Life Expectancy (years)',
color='continent',
size=np.sqrt(df['pop']),
# Specifying data to make availabe to the hovertemplate
# Specifying data to make available to the hovertemplate
# The px custom_data parameter has an underscore, whike the analogous graph objects customdata parameter has no underscore.
# The px custom_data parameter is a list of column names in the data frame, while the graph objects customdata parameter expects a data frame or a numpy array.
custom_data=['country', 'continent', 'pop'],
Expand Down
0