From 141bf3ad97f219c4885714dfee82c1413cece972 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Wed, 29 Mar 2023 16:44:30 -0400 Subject: [PATCH 1/2] Update horizontal-vertical-shapes.md --- doc/python/horizontal-vertical-shapes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/python/horizontal-vertical-shapes.md b/doc/python/horizontal-vertical-shapes.md index 44c9af98875..d6e9d080b78 100644 --- a/doc/python/horizontal-vertical-shapes.md +++ b/doc/python/horizontal-vertical-shapes.md @@ -145,7 +145,6 @@ fig.show() [Text labels on shapes](/python/shapes/#addingtextlabelstoshapes), introduced in version 5.14, is now the recommended way to add text to shapes. The above examples using `add_hline`, `add_vrect`, `add_hrect`, and `add_vline` that add annotations can be rewritten to use `label`. - ```python import plotly.express as px From d0cc5acb1e9e0ca20ff10405565a19a2fa083ed5 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Thu, 30 Mar 2023 09:46:26 -0400 Subject: [PATCH 2/2] Update horizontal-vertical-shapes.md --- doc/python/horizontal-vertical-shapes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/horizontal-vertical-shapes.md b/doc/python/horizontal-vertical-shapes.md index d6e9d080b78..02ec8417230 100644 --- a/doc/python/horizontal-vertical-shapes.md +++ b/doc/python/horizontal-vertical-shapes.md @@ -176,7 +176,7 @@ fig.show() ``` -With [text labels on shapes](/python/shapes/#addingtextlabelstoshapes), you can also add text labels to shapes other than lines and rectangles, and the labels can be added automatically to shapes drawn by the user. +With [text labels on shapes](/python/shapes/#adding-text-labels-to-shapes), you can also add text labels to shapes other than lines and rectangles, and the labels can be added automatically to shapes drawn by the user. ### Reference