From 6c74a240cfc6a0999794a6b6fe77afc47791519a Mon Sep 17 00:00:00 2001 From: Ya-Fan Chen Date: Sat, 7 Dec 2024 19:35:39 +0100 Subject: [PATCH] Update template_attributes.js Correct wrong description of hovertemplate regarding the use of tag `` --- src/plots/template_attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plots/template_attributes.js b/src/plots/template_attributes.js index 9f01f920688..1daa3f77edd 100644 --- a/src/plots/template_attributes.js +++ b/src/plots/template_attributes.js @@ -75,7 +75,7 @@ exports.hovertemplateAttrs = function(opts, extra) { 'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.', 'Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.', descPart, - 'Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}".', + 'Anything contained in tag `` is displayed in the secondary box, for example `%{fullData.name}`.', 'To hide the secondary box completely, use an empty tag ``.' ].join(' ') };