BayesNets.jl icon indicating copy to clipboard operation
BayesNets.jl copied to clipboard

Feature Request: make compatible with Pluto.jl

Open itsdfish opened this issue 3 years ago • 1 comments

Hello,

I noticed that BayesNets is not compatible with Pluto.jl. I was wondering if it would be possible to support the use of Pluto.jl?

Thanks!

Code

begin
	using BayesNets
	DiscreteBayesNet()
end

Error

var"#gplot#20"(::typeof(GraphPlot.stressmajorize_layout), ::Base.Pairs{Symbol, Any, NTuple{4, Symbol}, NamedTuple{(:nodelabel, :nodefillc, :edgestrokec, :EDGELINEWIDTH), Tuple{Vector{String}, String, String, Float64}}}, ::typeof(GraphPlot.gplot), ::Graphs.SimpleGraphs.SimpleDiGraph{Int64})@plot.jl:229
plot(::Graphs.SimpleGraphs.SimpleDiGraph{Int64}, ::Vector{String})@io.jl:8
plot(::BayesNets.DiscreteBayesNet)@io.jl:35
show(::IOContext{IOBuffer}, ::MIME{Symbol("image/svg+xml")}, ::BayesNets.DiscreteBayesNet)@io.jl:40
show_richest(::IOContext{IOBuffer}, ::Any)@PlutoRunner.jl:1116
[email protected]:1049[inlined]
format_output_default(::Any, ::Any)@PlutoRunner.jl:957
var"#format_output#50"(::IOContext{Base.DevNull}, ::typeof(Main.PlutoRunner.format_output), ::Any)@PlutoRunner.jl:974
formatted_result_of(::Base.UUID, ::Base.UUID, ::Bool, ::Vector{String}, ::Nothing, ::Module)@PlutoRunner.jl:867
top-level scope@none:1

itsdfish avatar Aug 12 '22 20:08 itsdfish

See #151. This is a Pluto plotting issue and not a dependency issue with BayesNets.jl.

mossr avatar Jan 22 '24 05:01 mossr