From e86d5a199a2a2632bc69bb0f9d0a0da386aba508 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Tue, 23 Jul 2024 11:57:55 -0400 Subject: [PATCH 1/2] Update axes.md --- doc/python/axes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/python/axes.md b/doc/python/axes.md index 069db7b63b2..162968dd5db 100644 --- a/doc/python/axes.md +++ b/doc/python/axes.md @@ -453,10 +453,10 @@ fig.show() *New in 5.23* You can adjust tick label positions by moving them a number of pixels away from the axis using `ticklabelstandoff` or along the axis using `ticklabelshift`. - + In this example, `ticklabelshift=25` shifts the labels 25 pixels to the right along the x-axis. By providing a negative value, we could move the labels 25 pixels to the left, (`ticklabelshift=-25`). -Here, `ticklabelstandoff=15` moves the labels further 15 pixels away from the x-axis. A negative value here would move them close to the axis. +Here, `ticklabelstandoff=15` moves the labels 15 pixels further away from the x-axis. A negative value here would move them closer to the axis. ```python import plotly.express as px @@ -483,7 +483,7 @@ fig.show() On date or linear axes, use `ticklabelindex` to draw a label for a minor tick instead of a major tick. -To draw the label for the minor tick before each major tick, set `ticklabelindex` -1, like in the following example. +To draw the label for the minor tick before each major tick, set `ticklabelindex` -1, like in the following example. ```python import plotly.express as px From 3ee60c0b46f701b2d2e1a89826e1b00b85c2ee56 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Tue, 23 Jul 2024 11:58:25 -0400 Subject: [PATCH 2/2] Update axes.md --- doc/python/axes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/axes.md b/doc/python/axes.md index 162968dd5db..2ade3a47213 100644 --- a/doc/python/axes.md +++ b/doc/python/axes.md @@ -483,7 +483,7 @@ fig.show() On date or linear axes, use `ticklabelindex` to draw a label for a minor tick instead of a major tick. -To draw the label for the minor tick before each major tick, set `ticklabelindex` -1, like in the following example. +To draw the label for the minor tick before each major tick, set `ticklabelindex=-1`, like in the following example. ```python import plotly.express as px