Visualizations don't work in Jupyter Lab
See original GitHub issueVisualizations don’t work in Jupyter Lab. I see just empty (white) plots. In Jupyter Notebook everything is OK.
Expected behavior
Visualizations should be available from Jupyter Lab.
Environment
- Optuna version: 1.0.0
- Python version: 3.7.4
- OS: Ubuntu 18.04.3
- (Optional) Other libraries and their versions: plotly==4.4.1 jupyterlab==1.2.4 jupyterlab-server==1.0.6
Steps to reproduce
- Create a study object.
- Run study.optimize
- Plot any visualization.
Reproducible examples (optional)
optuna.visualization.plot_slice(study)
Or any other plot.
Additional context (optional)
Screenshot of empty visualization: There is an error in the browser console:
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
JupyterLab output doesnt show visualization - Stack Overflow
The reason behind this is that displacy.serve will start a web server to show the visualization in a browser – all of which...
Read more >Interactive Visualizations In Jupyter Notebook | by Alex Martinelli
This entry is a non-exhaustive introduction on how to create interactive content directly from your Jupyter notebook.
Read more >How to Create a Data Visualization in Jupyter Notebook Using ...
HOW TO CREATE A DATA VISUALIZATION IN JUPYTER NOTEBOOK USING ATOTI //In this walkthrough we'll see how we can create data visualizations and ......
Read more >Hide or remove content - Jupyter Book
It's possible to control which content shows up in your book. For example, you may want to display a complex visualization to illustrate...
Read more >Embed NengoGUI style model visualization in Jupyter ...
... style visualization of a nengo model in a jupyter notebook? ... I tried the example but it doesn't seem to work on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@srizvan Did you follow the steps stated here?
@srizvan Thank you for your feedback. I created a PR (https://github.com/optuna/optuna/pull/843) to update the document for
JupyterLab
users to solve this issue. Please let me know if you have any comments.