cetz-plot
cetz-plot copied to clipboard
`{n}-tick-step` none/auto does not work for sets of values ~E-5
This was an issue I ran into when writing my thesis. A lin-lin plot of small values ~E-5 fails to produce ticks unless explicitly set. I haven't delved into the codebase yet but I have a sneaky suspicion it is related to the float error constant that is used sometimes for comparisons.
This is what I am using instead (not perfect, but better than no ticks)
y-tick-step: calc.pow(10, calc.floor(calc.log(calc.max(..pairs.map(array.last))))),