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

Visualizations do not appear inside my Jupyter Notebook -- without any error messages #332

Closed
AlexanderKonstantinidis opened this issue Jun 16, 2020 · 9 comments
Assignees

Comments

@AlexanderKonstantinidis
Copy link

AlexanderKonstantinidis commented Jun 16, 2020

When running the tutorial that is provided in the github of the Project, everything goes well otherwise but the visualizations do not actually appear in my Jupyter Notebook. I am not getting any error messages.

The Jupyter Notebook I am referring to can be downloaded here: https://github.com/facebook/Ax/blob/master/tutorials/visualizations.ipynb.

Could you please advise?

image

@adamobeng
Copy link
Contributor

Thanks for reporting this @AlexanderKonstantinidis! Could you say in which environment you're running this notebook (desktop OS, Google Colab, JupyterHub, etc.)?

@AlexanderKonstantinidis
Copy link
Author

@Balandat
Copy link
Contributor

FWIW @chauhang mentioned an issue in other libraries where visualizations would not show when run inside a docker container, this could possibly be related.

@ldworkin
Copy link
Contributor

@2timesjay , maybe you can grab this one?

@2timesjay
Copy link
Contributor

@AlexanderKonstantinidis

This is unfortunately a problem with all JupyterLab plotly plotting.

I was able to resolve it by following https://plotly.com/python/getting-started/#jupyterlab-support-python-35 and installing the jupyter labextension suggested.

Please let us know if this works for you.

Alternately, Jupyter Notebooks should not encounter this problem.

@chsher
Copy link

chsher commented Jun 25, 2020

I am encountering the same visualization issue (render yields blank output, no error messages) when attempting to execute https://github.com/facebook/Ax/blob/master/tutorials/tune_cnn.ipynb in Google Colab. Could you kindly advise?

@2timesjay
Copy link
Contributor

2timesjay commented Jul 13, 2020

@chsher #306 covers colab issues as well. https://stackoverflow.com/questions/47230817/plotly-notebook-mode-with-google-colaboratory provides a workaround (use the workaround for version 3, even though we're on version 4.)

Closing and redirecting discussion to #306

@SauravS009
Copy link

SauravS009 commented Jan 22, 2024

@AlexanderKonstantinidis

This is unfortunately a problem with all JupyterLab plotly plotting.

I was able to resolve it by following https://plotly.com/python/getting-started/#jupyterlab-support-python-35 and installing the jupyter labextension suggested.

Please let us know if this works for you.

Alternately, Jupyter Notebooks should not encounter this problem.

i tried using jupyter notebook and still faced the issue. Visualizations are not visible.
I used plotly.express in the notebook

@Balandat
Copy link
Contributor

Balandat commented Feb 5, 2024

@SauravS009 could you share a full repro on this, including which jupyter notebook version you are on?

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

7 participants