microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
165k stars 29.54k forks source link

Plot Navigator For Julia Not Showing Any Plots #139733

Closed AI-economist closed 2 years ago

AI-economist commented 2 years ago

Issue Type: Bug

I ran this code:

import Pkg; Pkg.add("Plots") begin using Plots plotly() end

using LinearAlgebra using RowEchelon

Let's create a scatter plot

begin scatter([1.5,2,-1],[1,5,-2], title="Points", label="Points") end

using Plots x=1:10 y = rand(10)

These are the plotting Data

plot(x,y, label="my label")

But I can't see any plots anywhere. The "Plot Navigator" just shows plots numbers but no plots.

VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.88GB (6.60GB free)| |Process Argv|--crash-reporter-id c2a680cf-8001-4c61-ad2b-6001ae9171a3| |Screen Reader|no| |VM|0%|
Extensions (1) Extension|Author (truncated)|Version ---|---|--- language-julia|jul|1.5.8
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythontb:30283811 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscoreces:30384385 pythondataviewer:30285071 vscod805cf:30301675 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 vscop804cf:30404767 vs360:30404995 vsrem710:30416614 py55gd98:30411514 vscexrecpromp3t1:30407762 ```
AI-economist commented 2 years ago

Hi. Is there been any update ?

artkuo commented 2 years ago

I have the same problem, and workaround was to revert to Julia language extension 1.5.6, which restores plot plane. The pane appears in the main editor group though, which I believe has already been reported elsewhere and perhaps fixed.