-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
The background of main interface became grey. #155242
Comments
@tengyuntian can you please share a screenshot of what you were seeing? |
similar to my issue, but not identical behavior: #155820 |
@tengyuntian does it happen all the time or it only happens when you run some cells which emit rich outputs (with widgets)? |
It happened when I run cells with huge outputs. Also, it will happen sometimes when my ipynb is too long. |
@tengyuntian thanks, that's really helpful. Would it make sense to provide a code snippet that get your VS Code into this state and share with us? |
My script is growing longer, and the data need to be processed is becoming larger and larger with my research going on. So the "grey background" problems happen more and more often. I have to close the Jupyter Notebook and open it again to eliminate it. But this action results in longer waiting time for re-running all functions and importing all data. I think the key problem is that the amount of data is too large. The data is in .txt format. I have over 30 txt files with a total number of lines over 1 million. And they will be plotted into hundreds of plots to show the experimental results. |
I found that every time it is running hard and has no responding, if I scroll the interface up/down, it will crash and the background becomes grey, and all the outputs are hidden in the grey. |
Is there anything I can do to avoid this? Every time I open a notebook with heavy data outputs, it will become grey and sometimes not responding. When it becomes grey, I cannot see or select any output and I have to re-open and re-run everything, then it happens again. |
I am running into the same issue these days again and again, is there any workaround to figure it out? I cannot do anything if I work with the visual studio code, help |
I am also experiencing this issue. VSCode+Jupyter is completely unusable. |
@kevindany, @tengyuntian I was able to resolve this by exporting my
Bonus points, you should be able to use |
It does not work :-(, it grays again |
Same problem here. Also with a longish ipynb file. Surely there MUST be a way to solve this? |
I also have the same problem. When I create plotly Figures that contain a lot of data vscode crashes in the behaviour described in the previous comments. Hopefully there is a solution soon |
i also have a similar problem |
me too |
Same problem here. Only installed python and jupyter plugins. |
Same problem here. Triggering code is below. Below about 20,000 data points it's fine. Above that it'll eventually "grey screen".
open Plotly.NET
open Plotly.NET.TraceObjects
open Plotly.NET.LayoutObjects
let mapCentre =
exceedances
|> Seq.averageBy (fun m -> m.Position.Longitude),
exceedances
|> Seq.averageBy (fun m -> m.Position.Latitude)
clusters
|> Seq.map (fun cluster ->
let coordsAsTuples =
cluster.Exceedances
// Mapbox assumes a Lon, Lat convention:
|> Seq.map (fun ex -> ex.Position.Longitude, ex.Position.Latitude)
Chart.PointMapbox(coordsAsTuples, Name=cluster.Id))
|> Chart.combine
|> Chart.withSize(1200, 800)
|> Chart.withMarkerStyle(Size=10)
|> Chart.withMarginSize(Left=0,Right=0,Top=30,Bottom=0)
|> Chart.withTitle("Clusters")
|> Chart.withMapbox(Mapbox.init(Style=StyleParam.MapboxStyle.OpenStreetMap, Center=mapCentre, Zoom=12.)) |
In my case : i was using |
Does everyone having this issue have the copilot extension? Anecdotal, but his wasn't happening for me until I installed it. My only workaround has been to create a new notebook. |
I do not have it and still happens to me. |
Issue Type: Bug
I am using Jupyter Notebook in VS code. When I wheeled down the interface, it became grey. It happened before. Cannot see any pics clearly.
VS Code version: Code 1.69.1 (b06ae3b, 2022-07-12T08:21:24.514Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
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
Extensions (7)
(2 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: