Closed matbesancon closed 2 years ago
I thought this was a plotting issue but seems to be linked to Documenter:
Documenter 0.27.10 PlotUtils 1.1.1 Plots 1.25.3 When calling makedocs, I am getting a strange error:
ERROR: ArgumentError: start and stop must be finite, got NaN and 2.354814349665326 Stacktrace: [1] _linspace(start::Float64, stop::Float64, len::Int64) @ Base ./twiceprecision.jl:658 [2] range_start_stop_length(start::Float64, stop::Float64, len::Int64) @ Base ./twiceprecision.jl:653 [3] _range @ ./range.jl:128 [inlined] [4] #range#59 @ ./range.jl:111 [inlined] [5] fallback_ticks @ ~/.julia/packages/PlotUtils/mTm8x/src/ticks.jl:37 [inlined] [6] optimize_ticks_typed(x_min::Float64, x_max::Float64, extend_ticks::Bool, Q::Vector{Tuple{Float64, Float64}}, k_min::Int64, k_max::Int64, k_ideal::Int64, granularity_weight::Float64, simplicity_weight::Float64, coverage_weight::Float64, niceness_weight::Float64, strict_span::Bool, span_buffer::Nothing, scale::Symbol) @ PlotUtils ~/.julia/packages/PlotUtils/mTm8x/src/ticks.jl:302 [7] optimize_ticks_typed(x_min::Float64, x_max::Float64, extend_ticks::Bool, Q::Vector{Tuple{Float64, Float64}}, k_min::Int64, k_max::Int64, k_ideal::Int64, granularity_weight::Float64, simplicity_weight::Float64, coverage_weight::Float64, niceness_weight::Float64, strict_span::Bool, span_buffer::Nothing, scale::Symbol) @ PlotUtils ~/.julia/packages/PlotUtils/mTm8x/src/ticks.jl:297 [8] optimize_ticks(x_min::Float64, x_max::Float64; extend_ticks::Bool, Q::Vector{Tuple{Float64, Float64}}, k_min::Int64, k_max::Int64, k_ideal::Int64, granularity_weight::Float64, simplicity_weight::Float64, coverage_weight::Float64, niceness_weight::Float64, strict_span::Bool, span_buffer::Nothing, scale::Symbol) @ PlotUtils ~/.julia/packages/PlotUtils/mTm8x/src/ticks.jl:140 [9] optimal_ticks_and_labels(ticks::Nothing, alims::Tuple{Float64, Float64}, scale::Symbol, formatter::Symbol) @ Plots ~/.julia/packages/Plots/UeTBV/src/axes.jl:170 [10] get_ticks(::Symbol, ::Vector{Float64}, ::Vector{Any}, ::Tuple{Float64, Float64}, ::Vararg{Any}) @ Plots ~/.julia/packages/Plots/UeTBV/src/axes.jl:320 [11] get_ticks(sp::Plots.Subplot{Plots.GRBackend}, axis::Plots.Axis; update::Bool) @ Plots ~/.julia/packages/Plots/UeTBV/src/axes.jl:241 [12] get_ticks @ ~/.julia/packages/Plots/UeTBV/src/axes.jl:224 [inlined] [13] _update_min_padding!(sp::Plots.Subplot{Plots.GRBackend}) @ Plots ~/.julia/packages/Plots/UeTBV/src/backends/gr.jl:888 [14] iterate @ ./generator.jl:47 [inlined] [15] _collect(c::Matrix{RecipesBase.AbstractLayout}, itr::Base.Generator{Matrix{RecipesBase.AbstractLayout}, typeof(Plots._update_min_padding!)}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{2}) @ Base ./array.jl:744 [16] collect_similar @ ./array.jl:653 [inlined] [17] map @ ./abstractarray.jl:2849 [inlined] [18] _update_min_padding!(layout::Plots.GridLayout) @ Plots ~/.julia/packages/Plots/UeTBV/src/layouts.jl:290 [19] iterate @ ./generator.jl:47 [inlined] [20] _collect(c::Matrix{RecipesBase.AbstractLayout}, itr::Base.Generator{Matrix{RecipesBase.AbstractLayout}, typeof(Plots._update_min_padding!)}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{2}) @ Base ./array.jl:744 [21] collect_similar @ ./array.jl:653 [inlined] [22] map @ ./abstractarray.jl:2849 [inlined] [23] _update_min_padding!(layout::Plots.GridLayout) @ Plots ~/.julia/packages/Plots/UeTBV/src/layouts.jl:290 [24] prepare_output(plt::Plots.Plot{Plots.GRBackend}) @ Plots ~/.julia/packages/Plots/UeTBV/src/plot.jl:224 [25] show(io::IOContext{IOBuffer}, m::MIME{Symbol("text/html")}, plt::Plots.Plot{Plots.GRBackend}) @ Plots ~/.julia/packages/Plots/UeTBV/src/output.jl:213 [26] __binrepr @ ./multimedia.jl:161 [inlined] [27] _textrepr @ ./multimedia.jl:151 [inlined] [28] stringmime(m::MIME{Symbol("text/html")}, x::Plots.Plot{Plots.GRBackend}; context::Pair{Symbol, Bool}) @ Base64 ~/programs/julia-17/share/julia/stdlib/v1.7/Base64/src/Base64.jl:43 [29] display_dict(x::Plots.Plot{Plots.GRBackend}; context::Pair{Symbol, Bool}) @ Documenter.Utilities ~/.julia/packages/Documenter/qdbx6/src/Utilities/Utilities.jl:667 [30] invokelatest(f::Any, args::Any; kwargs::Base.Pairs{Symbol, Pair{Symbol, Bool}, Tuple{Symbol}, NamedTuple{(:context,), Tuple{Pair{Symbol, Bool}}}}) @ Base ./essentials.jl:718 [31] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, x::Markdown.Code, page::Documenter.Documents.Page, doc::Documenter.Documents.Document) @ Documenter.Expanders ~/.julia/packages/Documenter/qdbx6/src/Expanders.jl:610 [32] dispatch(::Type{Documenter.Expanders.ExpanderPipeline}, ::Markdown.Code, ::Vararg{Any}) @ Documenter.Utilities.Selectors ~/.julia/packages/Documenter/qdbx6/src/Utilities/Selectors.jl:170 [33] expand(doc::Documenter.Documents.Document) @ Documenter.Expanders ~/.julia/packages/Documenter/qdbx6/src/Expanders.jl:42 [34] runner(#unused#::Type{Documenter.Builder.ExpandTemplates}, doc::Documenter.Documents.Document) @ Documenter.Builder ~/.julia/packages/Documenter/qdbx6/src/Builder.jl:226 [35] dispatch(#unused#::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Documents.Document) @ Documenter.Utilities.Selectors ~/.julia/packages/Documenter/qdbx6/src/Utilities/Selectors.jl:170 [36] #2 @ ~/.julia/packages/Documenter/qdbx6/src/Documenter.jl:266 [inlined] [37] cd(f::Documenter.var"#2#3"{Documenter.Documents.Document}, dir::String) @ Base.Filesystem ./file.jl:110 [38] #makedocs#1 @ ~/.julia/packages/Documenter/qdbx6/src/Documenter.jl:265 [inlined] [39] top-level scope @ REPL[7]:2
I am trying now but I think I was not getting the issue with Plots 1.23
I'm guessing this wasn't a Documenter issue?
indeed it seems not, even though I never got to the bottom of this
I thought this was a plotting issue but seems to be linked to Documenter:
Documenter 0.27.10 PlotUtils 1.1.1 Plots 1.25.3 When calling makedocs, I am getting a strange error: