Open pgagarinov opened 3 years ago
I get a similar histogram error on Julia version 1.5.3 with Plots v1.11.2 and Plotly v0.3.0 on Ubuntu Linux 20.10.
using Plots plotly() y = rand(10, 4) x = 1:10 histogram(x, y, layout = (4, 1))
UndefRefError: access to undefined reference
Stacktrace: [1] getindex at ./array.jl:809 [inlined] [2] iterate at ./array.jl:785 [inlined] [3] show_json(::JSON.Writer.PrettyContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::JSON.Serializations.StandardSerialization, ::Array{Any,1}) at /home/ajw/.julia/packages/JSON/3rsiS/src/Writer.jl:293 [4] #show_json#3 at /home/ajw/.julia/packages/JSON/3rsiS/src/Writer.jl:325 [inlined] [5] print(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Array{Any,1}, ::Int64) at /home/ajw/.julia/packages/JSON/3rsiS/src/Writer.jl:347 [6] sprint(::Function, ::Array{Any,1}, ::Vararg{Any,N} where N; context::Nothing, sizehint::Int64) at ./strings/io.jl:105 [7] sprint at ./strings/io.jl:101 [inlined] [8] json at /home/ajw/.julia/packages/JSON/3rsiS/src/Writer.jl:366 [inlined] [9] plotly_series_json at /home/ajw/.julia/packages/Plots/SVksJ/src/backends/plotly.jl:903 [inlined] [10] plotly_html_body(::Plots.Plot{Plots.PlotlyBackend}, ::Nothing) at /home/ajw/.julia/packages/Plots/SVksJ/src/backends/plotly.jl:951 [11] plotly_html_body at /home/ajw/.julia/packages/Plots/SVksJ/src/backends/plotly.jl:926 [inlined] [12] html_body at /home/ajw/.julia/packages/Plots/SVksJ/src/backends/plotly.jl:908 [inlined] [13] standalone_html(::Plots.Plot{Plots.PlotlyBackend}; title::String) at /home/ajw/.julia/packages/Plots/SVksJ/src/backends/web.jl:7 [14] standalone_html(::Plots.Plot{Plots.PlotlyBackend}) at /home/ajw/.julia/packages/Plots/SVksJ/src/backends/web.jl:7 [15] _show at /home/ajw/.julia/packages/Plots/SVksJ/src/backends/plotly.jl:989 [inlined] [16] show(::Base.GenericIOBuffer{Array{UInt8,1}}, ::MIME{Symbol("text/html")}, ::Plots.Plot{Plots.PlotlyBackend}) at /home/ajw/.julia/packages/Plots/SVksJ/src/output.jl:215 [17] sprint(::Function, ::MIME{Symbol("text/html")}, ::Vararg{Any,N} where N; context::Nothing, sizehint::Int64) at ./strings/io.jl:105 [18] sprint at ./strings/io.jl:101 [inlined] [19] _ijulia_display_dict(::Plots.Plot{Plots.PlotlyBackend}) at /home/ajw/.julia/packages/Plots/SVksJ/src/ijulia.jl:56 [20] display_dict(::Plots.Plot{Plots.PlotlyBackend}) at /home/ajw/.julia/packages/Plots/SVksJ/src/init.jl:77 [21] #invokelatest#1 at ./essentials.jl:710 [inlined] [22] invokelatest at ./essentials.jl:709 [inlined] [23] execute_request(::ZMQ.Socket, ::IJulia.Msg) at /home/ajw/.julia/packages/IJulia/e8kqU/src/execute_request.jl:112 [24] #invokelatest#1 at ./essentials.jl:710 [inlined] [25] invokelatest at ./essentials.jl:709 [inlined] [26] eventloop(::ZMQ.Socket) at /home/ajw/.julia/packages/IJulia/e8kqU/src/eventloop.jl:8 [27] (::IJulia.var"#15#18")() at ./task.jl:356
Details
Backends
This bug occurs on ( insert
x
below )Versions
Julia: 1.6-rc3 Plots.jl version: v1.11.0 Backend version (
]st -m
):Output of
versioninfo()
: