Skip to content

Allow Disabling Shared Zero for School-Book Axes #192

Description

@johannes-wolf

Discussed in #150

Originally posted by xianxingg October 3, 2025
for now, it's hard-coded in plot.typ:

if axis-style == "school-book" { axes.school-book(size: size, axis-dict.x, axis-dict.y) }, this makes shared-zero always set to true inside school-book function, and it renders 0

sometimes this 0 is crossed by lines (and i want to adjust 0's position), sometimes i don't need 0 but big O

i'd like to use cetz-plot in this way: plot(..., axis-style: "school-book", shared-zero: false)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions