Merge pull request #848 from darwindarak/dd/pyplot-worldage
RFC: fix world-age problem in PyPlot initialization
This commit is contained in:
commit
16c95c6deb
@ -84,10 +84,10 @@ function _initialize_backend(::PyPlotBackend)
|
|||||||
const pytransforms = PyPlot.pywrap(PyPlot.pyimport("matplotlib.transforms"))
|
const pytransforms = PyPlot.pywrap(PyPlot.pyimport("matplotlib.transforms"))
|
||||||
const pycollections = PyPlot.pywrap(PyPlot.pyimport("matplotlib.collections"))
|
const pycollections = PyPlot.pywrap(PyPlot.pyimport("matplotlib.collections"))
|
||||||
const pyart3d = PyPlot.pywrap(PyPlot.pyimport("mpl_toolkits.mplot3d.art3d"))
|
const pyart3d = PyPlot.pywrap(PyPlot.pyimport("mpl_toolkits.mplot3d.art3d"))
|
||||||
end
|
|
||||||
|
|
||||||
# we don't want every command to update the figure
|
# we don't want every command to update the figure
|
||||||
PyPlot.ioff()
|
PyPlot.ioff()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# --------------------------------------------------------------------------------------
|
# --------------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user