From a4ed700338a8b946d6b2c130a9386c24c014e27e Mon Sep 17 00:00:00 2001 From: Darwin Darakananda Date: Sat, 20 May 2017 15:44:48 -0700 Subject: [PATCH] Use `invokelatest` to get around world age issue --- src/pipeline.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline.jl b/src/pipeline.jl index 8879ff6f..e0041b77 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -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)