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

init_notebook_mode() can't be called in PYTHONSTARTUP #511

Closed
glehmann opened this issue Jun 26, 2016 · 1 comment
Closed

init_notebook_mode() can't be called in PYTHONSTARTUP #511

glehmann opened this issue Jun 26, 2016 · 1 comment

Comments

@glehmann
Copy link

Python notebooks supports loading some code from a file pointed by the PYTHONSTARTUP environment variable. I used it run init_notebook_mode() with plot.ly 1.9.13, but it now seems broken with the last plot.ly version: the graph zone is just empty.

@jonmmease
Copy link
Contributor

PYTHONSTARTUP is a Python, not Jupyter notebook, startup configuration, so I'm not surprised that init_notebook_mode() might not be reliable in that context.

I'm going to close this for now, but the automatic initialization of offline mode is something that we could handle through the plotly.io.show concept described in #1098.

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

No branches or pull requests

2 participants