Skip to content

Commit

Permalink
scientific: Fix axis style keys
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Nov 29, 2024
1 parent 2ac6151 commit 7c5483d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/spine/scientific.typ
Original file line number Diff line number Diff line change
@@ -19,10 +19,10 @@

let style = prepare-style(ptx, cetz.styles.resolve(ptx.cetz-ctx.style,
root: "axes", merge: style, base: default-style))
let x-style = get-axis-style(ptx, style, "x")
let y-style = get-axis-style(ptx, style, "y")
let u-style = get-axis-style(ptx, style, "u")
let v-style = get-axis-style(ptx, style, "v")
let x-style = get-axis-style(ptx, style, x.name)
let y-style = get-axis-style(ptx, style, y.name)
let u-style = get-axis-style(ptx, style, u.name)
let v-style = get-axis-style(ptx, style, v.name)

let (x-low, x-high, y-low, y-high) = (xy-proj.transform)(
(x.min, y.min), (x.max, y.min),

0 comments on commit 7c5483d

Please sign in to comment.