You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to BayesNets.jl and I am really interested in this new PPL and would like to use it for my project. When I went through some tutorials, I found that BayesNets.plot doesn't work on neither my Jupyter notebook nor my Julia console. I have installed all packages specified at below.
The code for reproducing error from BayesNets.jl docs (Section: representation):
using Random
Random.seed!(0) # seed the random number generator to 0, for a reproducible demonstration
using BayesNets
using TikzGraphs # required to plot tex-formatted graphs (recommended), otherwise GraphPlot.jl is used
using TikzPictures
bn = BayesNet()
push!(bn, StaticCPD(:a, Normal(1.0)))
push!(bn, LinearGaussianCPD(:b, [:a], [2.0], 3.0, 1.0))
plot = BayesNets.plot(bn)
TikzPictures.save(SVG("plot1"), plot)
Can anyone help me with this? I don't if this's a bug or I did sth. wrong (e.g., missing package installation). Plot method is a really nice feature to have insights to Bayesian Networks' structure and it's helpful during the implementation. Really appreciated!
The text was updated successfully, but these errors were encountered:
Hi,
I am new to BayesNets.jl and I am really interested in this new PPL and would like to use it for my project. When I went through some tutorials, I found that BayesNets.plot doesn't work on neither my Jupyter notebook nor my Julia console. I have installed all packages specified at below.
The code for reproducing error from BayesNets.jl docs (Section: representation):
Expected output:
The corresponding error message:
Can anyone help me with this? I don't if this's a bug or I did sth. wrong (e.g., missing package installation). Plot method is a really nice feature to have insights to Bayesian Networks' structure and it's helpful during the implementation. Really appreciated!
The text was updated successfully, but these errors were encountered: