Skip to content

Commit

Permalink
Update formats.typ examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrswift committed Jul 30, 2024
1 parent e878f3f commit 4fd019e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/axes/formats.typ
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
///
/// ```example
/// plot.plot(size: (5,1),
/// x-format: plot.formats.fraction,
/// x-format: axes.formats.fraction,
/// x-tick-step: 1/5,
/// y-tick-step: none, {
/// plot.add(calc.sin, domain: (-1, 1))
Expand All @@ -63,7 +63,7 @@
///
/// ```example
/// plot.plot(size: (5,1),
/// x-format: plot.formats.multiple-of,
/// x-format: axes.formats.multiple-of,
/// x-tick-step: calc.pi/4,
/// y-tick-step: none, {
/// plot.add(calc.sin, domain: (-calc.pi, 1.5 * calc.pi))
Expand Down Expand Up @@ -107,7 +107,7 @@
///
/// ```example
/// plot.plot(size: (5,1),
/// x-format: plot.formats.sci,
/// x-format: axes.formats.sci,
/// x-tick-step: 1e3,
/// y-tick-step: none, {
/// plot.add(x => x, domain: (-2e3, 2e3))
Expand Down

0 comments on commit 4fd019e

Please sign in to comment.