microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 293 forks source link

Panning on Plot viewer has weird cutoff #12546

Closed dishmint closed 1 year ago

dishmint commented 1 year ago

Type: Bug

Followed the Data Science Tutorial https://code.visualstudio.com/docs/datascience/data-science-tutorial

I opened the plot viewer at step 10.

I clicked and dragged to the left until I noticed the last plot was cut off. Of course I can zoom out, and see the plots just fine, but I should be able to drag enough to see the complete plot, no matter the zoom level.

VS Code version: Code 1.74.3 (Universal) (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T17:07:18.579Z) OS version: Darwin arm64 22.2.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (0.80GB free)| |Process Argv|--crash-reporter-id 7f89839a-65a4-411f-8062-0b3bcbbc6656| |Screen Reader|no| |VM|0%|
Extensions (64) Extension|Author (truncated)|Version ---|---|--- p5js-snippets|aci|0.0.6 increment-selection|alb|0.2.0 Bookmarks|ale|13.3.1 preview-mp4|ana|0.0.1 file-templates|brp|1.2.0 insert-unicode|bru|0.14.0 better-toml|bun|0.3.2 project-templates|can|1.2.0 gitignore|cod|0.9.0 crystal-lang|cry|0.8.4 doxdocgen|csc|1.4.0 vscode-markdownlint|Dav|0.49.0 vscode-pull-request-github|Git|0.56.0 todo-tree|Gru|0.0.220 vscode-drawio|hed|1.6.4 copy-filename|jac|2.3.2 better-cpp-syntax|jef|1.17.2 cmake-language-support-vscode|jos|0.0.9 vscode-antlr4|mik|2.3.1 somosemi|mom|0.1.8 vscode-dotnet-runtime|ms-|1.6.0 isort|ms-|2022.8.0 python|ms-|2022.20.2 vscode-pylance|ms-|2023.1.20 jupyter|ms-|2022.11.1003412109 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.12 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.266.1 remote-ssh|ms-|0.94.0 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.72.0 cmake-tools|ms-|1.12.27 cpptools|ms-|1.13.9 cpptools-extension-pack|ms-|1.3.0 live-server|ms-|0.4.4 remote-explorer|ms-|0.0.3 incrementor|nms|1.0.3 material-icon-theme|PKi|4.23.1 bracketeer|pus|1.3.1 webgl-glsl-editor|rac|1.3.3 java|red|1.13.0 LiveServer|rit|5.7.9 rust-analyzer|rus|0.3.1361 surroundelection|Sha|0.2.0 comment-divider|sta|0.4.0 shader-toy|ste|0.10.15 svelte-vscode|sve|107.0.1 tabnine-vscode|Tab|3.6.35 ayu|tea|1.0.5 language-pde|Tob|1.4.6 vscode-input-sequence|tom|0.2.0 cmake|twx|0.0.17 errorlens|use|3.6.0 intellicode-api-usage-examples|Vis|0.2.6 vscodeintellicode|Vis|1.2.30 vscode-java-debug|vsc|0.47.0 vscode-java-dependency|vsc|0.21.1 vscode-java-pack|vsc|0.25.7 vscode-java-test|vsc|0.37.1 vscode-maven|vsc|0.40.3 wolfram|Wol|1.7.0 markdown-all-in-one|yzh|3.5.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vscaat:30438848 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 pyindex848:30577860 nodejswelcome1:30587005 282f8724:30602487 f6dab269:30613381 fim-prod:30623723 ```
dishmint commented 1 year ago

https://user-images.githubusercontent.com/18143853/212526521-b7474822-fabd-4d73-93cf-a4905ba9b715.mov

DonJayamanne commented 1 year ago

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/8707