From 5e14001d13b197154e8bdd11ba2c95af3c5acbaa Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Thu, 22 Oct 2020 21:13:43 +0200 Subject: [PATCH] fix jupyter --- src/ijulia.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ijulia.jl b/src/ijulia.jl index 4e543891..13fc3b2e 100644 --- a/src/ijulia.jl +++ b/src/ijulia.jl @@ -4,7 +4,7 @@ const use_local_plotlyjs = Ref(false) function _init_ijulia_plotting() # IJulia is more stable with local file - use_local_plotlyjs[] = isfile(plotly_local_file_path[]) + use_local_plotlyjs[] = plotly_local_file_path[] === nothing ? false : isfile(plotly_local_file_path[]) ENV["MPLBACKEND"] = "Agg" end