Skip to content

Commit

Permalink
Update branch
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Dec 6, 2023
1 parent 780e0cd commit ea9c544
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/chart/barchart.typ
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
})

draw.group(ctx => {
let style = styles.resolve(ctx.style, (:),
let style = styles.resolve(ctx.style, merge: (:),
root: "barchart", base: barchart-default-style)
draw.set-style(..style)

Expand Down
3 changes: 2 additions & 1 deletion src/lib/chart/boxwhisker.typ
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
})

draw.group(ctx => {
let style = styles.resolve(ctx.style, (:), root: "boxwhisker", base: boxwhisker-default-style)
let style = styles.resolve(ctx.style, merge: (:),
root: "boxwhisker", base: boxwhisker-default-style)
draw.set-style(..style)

plot.plot(
Expand Down
2 changes: 1 addition & 1 deletion src/lib/chart/columnchart.typ
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
})

draw.group(ctx => {
let style = styles.resolve(ctx.style, (:),
let style = styles.resolve(ctx.style, merge: (:),
root: "columnchart", base: columnchart-default-style)
draw.set-style(..style)

Expand Down
Binary file modified tests/chart/boxwhisker/ref.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/chart/ref.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea9c544

Please sign in to comment.