Skip to content

Commit c4aee24

Browse files
Lexachocgvwilson
authored andcommitted
Update template_attributes.js
Correct wrong description of hovertemplate regarding the use of tag `<extra>`
1 parent c1649b4 commit c4aee24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/template_attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ exports.hovertemplateAttrs = function(opts, extra) {
7575
'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.',
7676
'Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.',
7777
descPart,
78-
'Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>".',
78+
'Anything contained in tag `<extra>` is displayed in the secondary box, for example `<extra>%{fullData.name}</extra>`.',
7979
'To hide the secondary box completely, use an empty tag `<extra></extra>`.'
8080
].join(' ')
8181
};

0 commit comments

Comments
 (0)