fix example 41

This commit is contained in:
t-bltg 2022-02-03 19:05:13 +01:00
parent 2a7d2d710e
commit bda951e9bf

View File

@ -1342,11 +1342,8 @@ function test_examples(pkgname::Symbol, idx::Int; debug = false, disp = true)
Base.eval(m, :(using Plots)) Base.eval(m, :(using Plots))
map(exprs -> Base.eval(m, exprs), _examples[idx].exprs) map(exprs -> Base.eval(m, exprs), _examples[idx].exprs)
plt = current() disp && Base.eval(m, :(gui(current())))
if disp current()
gui(plt)
end
plt
end end
# generate all plots and create a dict mapping idx --> plt # generate all plots and create a dict mapping idx --> plt