add PyPlot.ioff to init; closes #229

This commit is contained in:
Thomas Breloff 2016-05-11 09:45:44 -04:00
parent 44d1cdc2b2
commit 85f7acf9d5

View File

@ -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