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

JupyterLab performance degrades with the number of plotly graphs #72

Closed
manycoding opened this issue Apr 24, 2019 · 11 comments
Closed

JupyterLab performance degrades with the number of plotly graphs #72

manycoding opened this issue Apr 24, 2019 · 11 comments

Comments

@manycoding
Copy link
Contributor

It seems that in a notebook graphs are printed in a smaller size first, and then autosized to the page. This autosizing freezes the page for a second and looks like an issue.
Set the proper size by default?

@manycoding manycoding added Type: Bug Something isn't working Priority: High labels Apr 24, 2019
@manycoding manycoding added this to the 0.4.0 milestone Apr 24, 2019
@manycoding
Copy link
Contributor Author

@manycoding
Copy link
Contributor Author

manycoding commented Jun 3, 2019

@manycoding manycoding changed the title Plotly graphs autosizing slows Jupyter down JupyterLab performance degrades with the number of plotly graphs Jun 21, 2019
@manycoding
Copy link
Contributor Author

manycoding commented Jun 21, 2019

Current workaround - use classic Notebook UI.
iframe renderer is fast too, but it creates too many separate files.

@manycoding manycoding removed this from the 0.3.6 milestone Jun 21, 2019
@manycoding manycoding added Type: Performance and removed Priority: High Type: Bug Something isn't working labels Jun 21, 2019
@manycoding
Copy link
Contributor Author

JupyterLab 1 can speed it up
Anyway, seaborn is worth considering.

@DraTeots
Copy link

Any updates on the issue?

@manycoding
Copy link
Contributor Author

I just checked it at JL 1.1, seems much faster. So it works for now for our purposes.

@manycoding
Copy link
Contributor Author

Fixed in #124

@DraTeots
Copy link

But performance still degrades...

@manycoding
Copy link
Contributor Author

Yes, as with any other similar tool. For a typical usage for this library, the performance is good enough - for me, at least, it's not noticeable.

@DraTeots
Copy link

Actually it freezes for minutes. But probably, it is not an issue of this project.

@manycoding
Copy link
Contributor Author

Then I suggest to leave package versions and how to reproduce it in jupyterlab/jupyter-renderers#171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants