I want to make axis-style default to "school-book" in my document, but I didn’t find it in the “default-style” section of the manual.
I also noticed that in the given example, the axis-style property is set within the plot.plot function. So I guess it’s not implemented yet? If that’s the case I shall open a issue.
The “school-book” style is literally supposed to be a set of default settings for all elements, as can be seen in cetz manual v0.2.2 on page 61. But it doesn’t actually do the axis transformation. I would assume that you can still do this somehow, but I almost don’t plot anything these days, so I don’t know what you can or can’t do.
The doc is rather unclear but there are three different things to distinguish
the axis style
the axis style function
the axis style defaults
The axis style is a parameter to the plot function, for example "school-book". In the function there are hard-coded uses of this parameter, so you can’t “implement” it with set-style. One of the hard-coded uses is to call the corresponding axis style function.
The axis style function, e.g. school-book(), draws the axis. Again you cannot emulate this with set-style options.
The axis style defaults, for example default-style-schoolbook, specify default values for styles that affect the behavior of the axis style functions. This is what you see on page 61 of the old manual. You can override these values with set-style: The axis style function will merge the defaults with the user-specified styles.