make sure display order is correct if Plots is loaded before the REPL
This commit is contained in:
parent
6593e3cfe6
commit
00be8a2237
@ -9,6 +9,13 @@ function __init__()
|
|||||||
end
|
end
|
||||||
pushdisplay(PlotsDisplay())
|
pushdisplay(PlotsDisplay())
|
||||||
|
|
||||||
|
atreplinit(i -> begin
|
||||||
|
if PlotDisplay() in Base.Multimedia.displays
|
||||||
|
popdisplay(PlotsDisplay())
|
||||||
|
end
|
||||||
|
pushdisplay(PlotsDisplay())
|
||||||
|
end)
|
||||||
|
|
||||||
include(joinpath(@__DIR__, "backends", "plotly.jl"))
|
include(joinpath(@__DIR__, "backends", "plotly.jl"))
|
||||||
include(joinpath(@__DIR__, "backends", "gr.jl"))
|
include(joinpath(@__DIR__, "backends", "gr.jl"))
|
||||||
include(joinpath(@__DIR__, "backends", "web.jl"))
|
include(joinpath(@__DIR__, "backends", "web.jl"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user