I recently stumbled across the plotly() backend for plots and like the functionality as it is very similar to Matlab. However, when I try to plot something from a script or the REPL using vscode on Linux, it always requires the gui() command to display it on a web browser instead of in the opened plot plane. In fact, vscode opens a new plot in the plot plane but nothing appears. Looking through the posts here I don’t believe its a bug but rather a settings issue on my end. As a quick check, trying the same code but on windows, the plot appears in the plot plane first then calling gui() opens it in a web browser. The behavior I would like to replicate.
Does anyone have any suggestions to set up my vscode to display it in the plot plane first, rather than needing gui() to display it externally? I’ve included my julia version below.
Julia Version 1.5.3 Commit 788b2c77c1 (2020-11-09 13:37 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Xeon(R) Gold 6146 CPU @ 3.20GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-9.0.1 (ORCJIT, skylake-avx512) Environment: JULIA_EDITOR = "/home/loki3118/VSCode-linux-x64/code" JULIA_NUM_THREADS = 8