Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot Viewer no longer an option with latest update #6315

Closed
Eandreas1857 opened this issue Jun 16, 2021 · 20 comments
Closed

Plot Viewer no longer an option with latest update #6315

Eandreas1857 opened this issue Jun 16, 2021 · 20 comments
Assignees

Comments

@Eandreas1857
Copy link

Issue Type: Bug

The ability to use plot viewer on plots in jupyter notebook is not an option anymore. I have tried hovering over the plot as well an double clicking and drag-and-droping the plot but the plot viewer just isn't there anymore.

VS Code version: Code 1.57.0 (b4c1bd0a9b03c749ea011b06c6d2676c8091a70c, 2021-06-09T17:18:42.895Z)
OS version: Linux x64 4.15.0-144-generic snap
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 4299)
GPU Status 2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 1, 1, 1
Memory (System) 31.27GB (21.73GB free)
Process Argv --force-user-env --unity-launch --crash-reporter-id 8549cb84-3041-4f25-a346-0734e581d59b
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions (4)
Extension Author (truncated) Version
python ms- 2021.5.926500501
vscode-pylance ms- 2021.6.1
jupyter ms- 2021.6.999406279
hexeditor ms- 1.7.0
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30321503
vscorehov:30309549
vscod805:30301674

@vscodebot
Copy link

vscodebot bot commented Jun 16, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@joyceerhl joyceerhl transferred this issue from microsoft/vscode Jun 17, 2021
@rebornix rebornix removed their assignment Jun 17, 2021
@claudiaregio
Copy link
Contributor

Hi @Eandreas1857, you have been updated to the new Native Notebooks interface :) What were you hoping to do with the Plot Viewer?

@Eandreas1857
Copy link
Author

Hello @claudiaregio, the plot viewer is extremely useful when I have multiple plots within a notebook and want to be able to click between a few in another tab in VS quickly. Further, most of my plots are quite large and are difficult to look at in the notebook output, the plot viewer made it easy to open a plot and zoom in on particular parts of the plot. Honestly, this feature was my favorite part of using jupyter notebook in VScode rather than in a browser!

@claudiaregio
Copy link
Contributor

Glad to hear you enjoy the plot viewer :) Do you do anything with the plots after looking at them? What plotting libraries are you using? Have you tried the matplotlib widget?

@Eandreas1857
Copy link
Author

Currently, I only need to view the plots, not interact with them. I am only using matplotlib and have not used the widget. I only need the capability to be able to open the plots as was available with the plot viewer.

@DonJayamanne
Copy link
Contributor

Currently, I only need to view the plots, not interact with them. I am only using matplotlib and have not used the widget. I only need the capability to be able to open the plots as was available with the plot viewer.

Do you need to open the plots on the side so you can save them or
is the purpose to:

  • Be able to view is on the side, then re-run the cell & compare the difference between the two plots?
  • Or is it so that you can save the plot (image) to disc?
  • Or other?

Basically I'm trying to understand the why you are opening the image on the side. Thanks
FYI - in our insiders version we've added support to be able to save plots (without having to open them - please install VS Code Insiders and try this out).

@Eandreas1857
Copy link
Author

I would like to be able to view plots on the side, then re-run the cell and compare the difference between the two plots, as well as compare with other plots scattered throughout the notebook. Also, the capability of zooming plots in and out is nice when my plots are large. I currently don't really care about saving them, though I will install the VScode insiders.

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@peguerosdc
Copy link

I am having the same issue with my vscode instance:

Version: 1.57.1
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:26:56.255Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Linux x64 5.8.0-59-generic snap

Plot Viewer was a very useful feature. Why was it moved to insiders if it already was on the main version?

@sebgorgon
Copy link

Same here, would really appreciate Plot Viewer back.

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

claudiaregio commented Jul 2, 2021

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@claudiaregio
Copy link
Contributor

+1
image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants