From b501c9bf4b55df2a0c2d818d45a0cd3b84129aeb Mon Sep 17 00:00:00 2001 From: Darwin Darakananda Date: Sat, 20 May 2017 15:39:26 -0700 Subject: [PATCH] fix world-age problem in PyPlot initialization --- src/backends/pyplot.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index df426bbb..7ba5b29c 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -84,10 +84,10 @@ function _initialize_backend(::PyPlotBackend) const pytransforms = PyPlot.pywrap(PyPlot.pyimport("matplotlib.transforms")) const pycollections = PyPlot.pywrap(PyPlot.pyimport("matplotlib.collections")) const pyart3d = PyPlot.pywrap(PyPlot.pyimport("mpl_toolkits.mplot3d.art3d")) - end - # we don't want every command to update the figure - PyPlot.ioff() + # we don't want every command to update the figure + PyPlot.ioff() + end end # --------------------------------------------------------------------------------------