Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Change to offline.init_notebook_mode() #379

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

Merged
merged 1 commit into from
Feb 23, 2016
Merged

Change to offline.init_notebook_mode() #379

merged 1 commit into from
Feb 23, 2016

Conversation

joshburkart
Copy link
Contributor

Make init_notebook_mode() only import the JS library once. Otherwise if someone puts it at the top of a Jupyter cell and it gets executed every time (typical pattern of usage?), it adds ~1 s to the cell's execution time.

Make init_notebook_mode() only import the JS library once. Otherwise if someone puts it at the top of a Jupyter cell and it gets executed every time (typical pattern of usage?), it adds ~1 s to the cell's execution time.
jackparmer added a commit that referenced this pull request Feb 23, 2016
Change to offline.init_notebook_mode()
@jackparmer jackparmer merged commit 283ba58 into plotly:master Feb 23, 2016
@jackparmer
Copy link
Contributor

+1 Thanks!

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

Successfully merging this pull request may close these issues.

2 participants