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

Jupyter interactive plots are very slow / laggy when opened in separate tab (e.g seaborn pairplot) #459

Closed
sws144 opened this issue Jun 30, 2020 · 7 comments

Comments

@sws144
Copy link

sws144 commented Jun 30, 2020

microsoft/vscode#101238 (comment)

@IanMatthewHuff
Copy link
Member

@sws144 Thanks for reporting this, and sorry about the issue. Do you have a code example that you could share that exhibits this behavior? I do know that we have issues with generating very large file sizes with dense plots since we generate both SVG and PNG versions of the plot. The SVG versions can get very large causing some performance issues. You can skip generating SVG versions with a setting, but turning off that setting turns of the plot viewer since that uses SVGs for display.

https://github.com/microsoft/vscode-python/issues/12388

@sws144
Copy link
Author

sws144 commented Jul 3, 2020

Here are the two files to run (up until row 135 for the sns.pairplot). This is a fairly big pairplot, but renders plot viewer unusable.
https://github.com/sws144/titanic-model-app/blob/master/titanic-logistic-backup.py

Source data file to create plots:
https://github.com/sws144/titanic-model-app/blob/master/titanic_train.csv

Perhaps we can allow PNG versions of the plot viewer as well? Thank you!

@meyerzinn
Copy link

I am encountering this issue as well on RedHat Linux 7, even with a fairly beefy computer (albeit moderate CPU clock speeds).

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 11, 2020
@EnriqueSampaio
Copy link

Same here

@NoCh-Git
Copy link

Same here. Mac, Big Sur

@mcpeixoto
Copy link

Same here, Ubuntu 20.04 LTS

@IanMatthewHuff
Copy link
Member

Defaulting to PNG should help resolve this, so closing.

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

No branches or pull requests

8 participants