From 20d46630458d3d8810444f564701cab1509f14bc Mon Sep 17 00:00:00 2001 From: Antoine Roy-Gobeil Date: Mon, 11 Mar 2019 13:08:18 -0400 Subject: [PATCH] update description of `hovertemplate` --- src/components/fx/hovertemplate_attributes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/fx/hovertemplate_attributes.js b/src/components/fx/hovertemplate_attributes.js index 094af37dad1..f2111619b14 100644 --- a/src/components/fx/hovertemplate_attributes.js +++ b/src/components/fx/hovertemplate_attributes.js @@ -41,7 +41,8 @@ module.exports = function(opts, extra) { 'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plot.ly/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(' ') };