-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Here is my code to plot a graph:
#let x_data = (1.0, 2.0, 3.0, 4.0, 5.0)
#let y_data = (1.2, 3.4, 5.6, 7.8, 9.0)
#let x_axis = axis(min: calc.floor(calc.min(..x_data)), max: calc.ceil(calc.max(..x_data)), location: "bottom")
#let y_axis = axis(min: calc.floor(calc.min(..y_data)), max: calc.ceil(calc.max(..y_data)), location: "left")
#let pl = plot(data: x_data.zip(y_data), axes: (x_axis, y_axis))
#scatter_plot(pl, (80%, 50%))And I got an error in the last line:
Error: Unknown variable: style
I found that in the changelog of typst v0.11.0, the style function is deprecated. If this repo is still being maintained, I hope the maintainer can publish a change to solve this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels