Skip to content

Commit

Permalink
BUG: IJulia.inited is a variable, not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
sglyon committed Feb 6, 2018
1 parent 581195c commit 5cf0d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/displays/ijulia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cf0d6c

Please sign in to comment.