From 5cf0d6ca2cb068e52e743e625d267158f23133cc Mon Sep 17 00:00:00 2001 From: Spencer Lyon Date: Tue, 6 Feb 2018 10:11:00 -0500 Subject: [PATCH] BUG: IJulia.inited is a variable, not a function --- src/displays/ijulia.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/displays/ijulia.jl b/src/displays/ijulia.jl index 29d2c3ec..409aa79f 100644 --- a/src/displays/ijulia.jl +++ b/src/displays/ijulia.jl @@ -46,7 +46,7 @@ function html_body(p::JupyterPlot) end function init_notebook(force=false) - if !(isdefined(Main, :IJulia) && Main.IJulia.inited()) + if !(isdefined(Main, :IJulia) && Main.IJulia.inited) return end # borrowed from https://github.com/plotly/plotly.py/blob/2594076e29584ede2d09f2aa40a8a195b3f3fc66/plotly/offline/offline.py#L64-L71