From bf9c2fea69bd45f6e45b9e5e3eff26e3bbc3bf6c Mon Sep 17 00:00:00 2001 From: Zitzeronion Date: Tue, 6 Feb 2024 15:57:15 +0100 Subject: [PATCH] Up to 3pi in ticks but only 2pi in labels I honestly don't know if this per purpose, but I was a little confused. Before there were four ticks but only three tick labels. If this was correct please forgive me for this PR. --- docs/src/attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/attributes.md b/docs/src/attributes.md index 5337e41e21..9cab597fda 100644 --- a/docs/src/attributes.md +++ b/docs/src/attributes.md @@ -70,7 +70,7 @@ Passing a tuple to `xticks` (and similarly to `yticks` and `zticks`) changes the position of the ticks and the labels: ```julia -plot!(xticks = ([0:π:3*π;], ["0", "\\pi", "2\\pi"])) +plot!(xticks = ([0:π:2*π;], ["0", "\\pi", "2\\pi"])) yticks!([-1:1:1;], ["min", "zero", "max"]) ```