From e65a5c8e88582dbc806f6c12ccb25ad838a11b04 Mon Sep 17 00:00:00 2001 From: Abdelkrim from Brussels Date: Sat, 16 Nov 2019 11:31:03 +0100 Subject: [PATCH] misspelling fomrat -> format --- python/hover-text-and-formatting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/hover-text-and-formatting.md b/python/hover-text-and-formatting.md index 1d0cfdf65..fc5572750 100644 --- a/python/hover-text-and-formatting.md +++ b/python/hover-text-and-formatting.md @@ -103,7 +103,7 @@ fig.show() ### Customize tooltip text with a hovertemplate To customize the tooltip on your graph you can use [hovertemplate](https://plot.ly/python/reference/#pie-hovertemplate), which is a template string used for rendering the information that appear on hoverbox. -This template string can include `variables` in %{variable} format, `numbers` in [d3-format's syntax](https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_forma), and `date` in [d3-time-fomrat's syntax](https://github.com/d3/d3-3.x-api-reference/blob/master/Time-Formatting.md#format). +This template string can include `variables` in %{variable} format, `numbers` in [d3-format's syntax](https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_forma), and `date` in [d3-time-format's syntax](https://github.com/d3/d3-3.x-api-reference/blob/master/Time-Formatting.md#format). Hovertemplate customize the tooltip text vs. [texttemplate](https://plot.ly/python/reference/#pie-texttemplate) which customizes the text that appears on your chart.
Set the horizontal alignment of the text within tooltip with [hoverlabel.align](https://plot.ly/python/reference/#layout-hoverlabel-align).