Skip to content

Commit

Permalink
Update hover-text-and-formatting.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten authored May 24, 2022
1 parent d61ee70 commit 589c901
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -313,7 +313,7 @@ for continent_name, continent in continent_data.items():
x=continent['gdpPercap'],
y=continent['lifeExp'],
name=continent_name,
text=df_2007['continent'],
text=continent['continent'],
hovertemplate=
"<b>%{text}</b><br><br>" +
"GDP per Capita: %{x:$,.0f}<br>" +
Expand Down

0 comments on commit 589c901

Please sign in to comment.