Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{n}-tick-step none/auto does not work for sets of values ~E-5 #64

Open
jamesrswift opened this issue Oct 23, 2024 · 0 comments
Open

{n}-tick-step none/auto does not work for sets of values ~E-5 #64

jamesrswift opened this issue Oct 23, 2024 · 0 comments
Labels
👿 bug Something isn't working

Comments

@jamesrswift
Copy link
Collaborator

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))))), 
@johannes-wolf johannes-wolf added the 👿 bug Something isn't working label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👿 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants