From 85f7acf9d59a80d3e29c7555cff9622eed2493d5 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Wed, 11 May 2016 09:45:44 -0400 Subject: [PATCH] add PyPlot.ioff to init; closes #229 --- src/backends/pyplot.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index a66acaef..8e68e678 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -68,6 +68,8 @@ function _initialize_backend(::PyPlotBackend) const pynp = PyPlot.pywrap(PyPlot.pyimport("numpy")) end + PyPlot.ioff() + if !isa(Base.Multimedia.displays[end], Base.REPL.REPLDisplay) PyPlot.ioff() # stops wierd behavior of displaying incomplete graphs in IJulia