Fix example 41 (#4093)
This commit is contained in:
parent
2a7d2d710e
commit
6e4cb5fedc
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user