Makie DataInspector logscale

Hi,

I tried to use Makie DataInspector for logscale graph and it is not workin,

MWE:

fig = Figure()


Axis(fig[1,1], xscale = log10)

lines!(range(0.01, 0.99, length = 200), 1:200)

DataInspector(fig)

ERROR:

Error in callback:
DomainError with -0.010894682:
log10 was called with a negative real argument but will only return a complex result if called with a complex argument. Try log10(Complex(x)).
Stacktrace:
[1] throw_complex_domainerror(f::Symbol, x::Float32)
@ Base.Math ./math.jl:33
[2] _log(x::Float32, base::Val{10}, func::Symbol)
@ Base.Math ./special/log.jl:336
[3] log10
@ ./special/log.jl:265 [inlined]
[4] apply_transform
@ ~/.julia/packages/Makie/ND0gA/src/layouting/transformation.jl:291 [inlined]
[5] apply_transform
@ ~/.julia/packages/Makie/ND0gA/src/layouting/transformation.jl:285 [inlined]
[6] apply_transform
@ ~/.julia/packages/Makie/ND0gA/src/layouting/transformation.jl:213 [inlined]
[7] apply_transform_and_model(model::StaticArraysCore.SMatrix{4, 4, Float32, 16}, f::Tuple{typeof(log10), typeof(identity)}, pos::Point{3, Float32}, space::Symbol, output_type::Type)
@ Makie ~/.julia/packages/Makie/ND0gA/src/layouting/transformation.jl:196
[8] apply_transform_and_model(plot::Lines{Tuple{Vector{Point{2, Float32}}}}, pos::Point{3, Float32}, output_type::Type)
@ Makie ~/.julia/packages/Makie/ND0gA/src/layouting/transformation.jl:189
[9] show_data(inspector::DataInspector, plot::Lines{Tuple{Vector{Point{2, Float32}}}}, idx::UInt32)
@ Makie ~/.julia/packages/Makie/ND0gA/src/interaction/inspector.jl:519
[10] show_data_recursion(inspector::DataInspector, plot::Lines{Tuple{Vector{Point{2, Float32}}}}, idx::UInt32)
@ Makie ~/.julia/packages/Makie/ND0gA/src/interaction/inspector.jl:339
[11] on_hover(inspector::DataInspector)
@ Makie ~/.julia/packages/Makie/ND0gA/src/interaction/inspector.jl:307
[12] (::Makie.var"#1241#1245"{DataInspector})(::Tuple{Float64, Float64})
@ Makie ~/.julia/packages/Makie/ND0gA/src/interaction/inspector.jl:280
[13] #invokelatest#2
@ ./essentials.jl:892 [inlined]
[14] invokelatest
@ ./essentials.jl:889 [inlined]
[15] notify
@ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:206 [inlined]
[16] setindex!
@ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:123 [inlined]
[17] (::GLMakie.MousePositionUpdater)(::Nothing)
@ GLMakie ~/.julia/packages/GLMakie/qLxLP/src/events.jl:6
[18] #invokelatest#2
@ ./essentials.jl:892 [inlined]
[19] invokelatest
@ ./essentials.jl:889 [inlined]
[20] notify
@ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:206 [inlined]
[21] pollevents(screen::GLMakie.Screen{GLFW.Window})
@ GLMakie ~/.julia/packages/GLMakie/qLxLP/src/screen.jl:450
[22] on_demand_renderloop(screen::GLMakie.Screen{GLFW.Window})
@ GLMakie ~/.julia/packages/GLMakie/qLxLP/src/screen.jl:937
[23] renderloop(screen::GLMakie.Screen{GLFW.Window})
@ GLMakie ~/.julia/packages/GLMakie/qLxLP/src/screen.jl:963
[24] (::GLMakie.var"#69#70"{GLMakie.Screen{GLFW.Window}})()
@ GLMakie ~/.julia/packages/GLMakie/qLxLP/src/screen.jl:824

that would be a good issue on github

It seems that it is already there DataInspector does not work for lines in log10 scale · Issue #3571 · MakieOrg/Makie.jl · GitHub