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

No strict ticks found for exponentially small limits #164

Open
ffreyer opened this issue Mar 13, 2024 · 2 comments
Open

No strict ticks found for exponentially small limits #164

ffreyer opened this issue Mar 13, 2024 · 2 comments

Comments

@ffreyer
Copy link
Contributor

ffreyer commented Mar 13, 2024

While testing for MakieOrg/Makie.jl#3681 I noticed that tick finding has problems with small numbers, starting around PlotUtils.optimize_ticks(1e-17, 10e-17). It would be nice if we could push this a bit further.

For large values even PlotUtils.optimize_ticks(1e200, 10e200) still works.

@asinghvi17
Copy link
Member

This is a particular issue in GeoMakie when zooming in to small areas on geographic plots!

@BeastyBlacksmith
Copy link
Member

I think an easy workaround would be to scale the inputs and then scale back after.
Or pass a bigger number type. Though I'm not sure that function is written generic enough for that.

I don't see how we could alter the function to work with values below machine epsilon for Float64 input TBH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants