Merge pull request #808 from darwindarak/dd/world-age

Hack around world age issue PyPlot (fix #734)
This commit is contained in:
Michael Krabbe Borregaard 2017-08-24 22:53:04 +02:00 committed by GitHub
commit 7816e078b5

View File

@ -210,7 +210,7 @@ function _plot_setup(plt::Plot, d::KW, kw_list::Vector{KW})
# TODO: init subplots here
_update_plot_args(plt, d)
if !plt.init
plt.o = _create_backend_figure(plt)
plt.o = Base.invokelatest(_create_backend_figure, plt)
# create the layout and subplots from the inputs
plt.layout, plt.subplots, plt.spmap = build_layout(plt.attr)