diff --git a/CairoMakie/src/screen.jl b/CairoMakie/src/screen.jl index 53141f7eabc..1d26657836d 100644 --- a/CairoMakie/src/screen.jl +++ b/CairoMakie/src/screen.jl @@ -204,7 +204,7 @@ Base.size(screen::Screen) = round.(Int, (screen.surface.width, screen.surface.he # we render the scene directly, since we have # no screen dependent state like in e.g. opengl Base.insert!(screen::Screen, scene::Scene, plot) = nothing -Base.insert!(screen::Screen, scene::Scene, plot::Plot{plotlist}) = nothing +# Base.insert!(screen::Screen, scene::Scene, plot::Plot{plotlist}) = nothing function Base.delete!(screen::Screen, scene::Scene, plot::AbstractPlot) # Currently, we rerender every time, so nothing needs # to happen here. However, in the event that changes, diff --git a/CairoMakie/test/runtests.jl b/CairoMakie/test/runtests.jl index 3cb6145bcc5..344c9009b2e 100644 --- a/CairoMakie/test/runtests.jl +++ b/CairoMakie/test/runtests.jl @@ -135,7 +135,8 @@ end end @testset "plotlist no ambiguity" begin - plotlist([Makie.SpecApi.Scatter(1:10)]) + f = plotlist([Makie.SpecApi.Scatter(1:10)]) + save("test.png", f) plotlist!([Makie.SpecApi.Scatter(1:10)]) end