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

yscale=log10 not working with lines and small values #1670

Closed
fatteneder opened this issue Feb 13, 2022 · 1 comment
Closed

yscale=log10 not working with lines and small values #1670

fatteneder opened this issue Feb 13, 2022 · 1 comment

Comments

@fatteneder
Copy link
Contributor

MWE

julia> lines(1:10, 1 .+ 1e-9 * rand(10), axis=(;yscale=log10))
ERROR: ArgumentError: range step cannot be zero
Stacktrace:
  [1] (::Colon)(start::Float32, step::Float32, stop::Float32)
    @ Base ./twiceprecision.jl:401
  [2] get_minor_tickvalues(i::IntervalsBetween, scale::typeof(log10), tickvalues::Vector{Float32}, vmin::Float32, vmax::Float32)
 ...

The same MWE was already given in #1490 but it gave a different error back then.

@musoke
Copy link
Contributor

musoke commented May 9, 2024

This annoyance is fixed in CairoMakie v0.12.0 and Makie v0.21.0.

Running the MWE got me this output:
image

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

Successfully merging a pull request may close this issue.

4 participants