You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
labels on x-axis are missplaced in cetz:0.5.0 #175
After updating cetz-poackage, I noticed a shift in the x-label and the custom x-ticks-labels. They are placed too high (or too close to the x-axis itself).
Activity
[-]labels on x-axes are missplaced in cetz:0.5.0[/-][+]labels on x-axis are missplaced in cetz:0.5.0[/+]persy commentedon May 22, 2026
same problem.
pcolladosoto commentedon May 22, 2026
I can confirm the issue too... With
cetz:v5.0.0I getWhilst with
cetz:0.4.2I instead getIn both cases the plot's defined with:
cetz.canvas({ import cetz.draw: * import cetz-plot: * plot.plot(size: (9, 3), axis-style: "left", fill-below: true, x-label: $t upright("[s]")$, y-label: "L [s]", x-min: 0, x-max: 8, y-min: 0, y-max: 3, x-tick-step: none, y-tick-step: none, x-ticks: (2.5, 5.5, 7), y-ticks: (1,), { plot.add(style: (stroke: 0.5pt + black), ((0,0), (2.5,0), (5.5,1), (7,1), (7,0))) }) })