diff --git a/src/backends/web.jl b/src/backends/web.jl index d73fa067..4f827529 100644 --- a/src/backends/web.jl +++ b/src/backends/web.jl @@ -45,7 +45,7 @@ function standalone_html_window(plt::AbstractPlot) old = use_local_dependencies[] # save state to restore afterwards # if we open a browser ourself, we can host local files, so # when we have a local plotly downloaded this is the way to go! - use_local_dependencies[] = isfile(plotly_local_file_path[]) + use_local_dependencies[] = plotly_local_file_path[] === nothing ? false : isfile(plotly_local_file_path[]) filename = write_temp_html(plt) open_browser_window(filename) # restore for other backends