Skip to content

Commit

Permalink
BUG: only print message when false is passed to init_notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
sglyon committed Feb 6, 2018
1 parent 414ddbc commit e713c58
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 @@ -72,7 +72,7 @@ function init_notebook(force=false)
end
# borrowed from https://github.com/plotly/plotly.py/blob/2594076e29584ede2d09f2aa40a8a195b3f3fc66/plotly/offline/offline.py#L64-L71
# and https://github.com/JuliaLang/Interact.jl/blob/cc5f4cfd34687000bc6bc70f0513eaded1a7c950/src/IJulia/setup.jl#L15
if force
if !force
extra_text = """
<p>Plotly javascript loaded.</p>
<p>To load again call <pre>init_notebook(true)</pre></p>
Expand Down

0 comments on commit e713c58

Please sign in to comment.