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"]) ```