-
Notifications
You must be signed in to change notification settings - Fork 311
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
[Question/Issue]Not showing graphs on JupyterLab #94
Comments
@Leonhalt3141 - the main dependency should be Plotly - the Is there anything that shows up in the browser console log here? We were seeing issues with plotting in Google Colab (see #83) but they were throwing explicit Python errors (that have now been fixed on master). This seems different. In general, if you can provide some additional details on how we could reproduce this, it could be helpful. |
@Leonhalt3141 - I've identified the issue - the Plotly resource is not being loaded in Jupyter Labs since require.js is not exposed by default on the page. We will have a fix for this next week, but if you need the plots to work sooner than that, I'd recommend using vanilla Jupyter (not Jupyter Labs). The plots should all work without any issues there. |
@kkashin Thank you for your help. I will keep following the commits and reflect the fix! |
the statement render(plot_contour(...)) had run successfully in Jupyter Lab, but the image not shown in it. You can open your .ipynb file with Jupyter Notebook, and you will see the image is just there. |
Thanks @summererror - that's a useful workaround for now! We're close to making this work for Jupyter Labs directly - should be in master by early next week. |
Migration to jupyterlab-friendly plotting has been tested successfully. |
@Leonhalt3141, @summererror, just to be specific, the plots should now render in JupyterLabs if you have the master version of Ax installed; the fix for JupyterLabs will also be included in the next stable release. |
@lena-kashtelyan Thanks! I will keep following. |
This is now fixed on the latest stable version, 0.1.6. |
I followed a tutorial to plot response surface in my local Docker environment. However, it did not show contour plot on my JupyterLab notebook. It showed only small blank space. Same situation at other rendering tutorial.
Is there any dependency to show plot by using Ax library? Other plotting library such as matplotlib and plotly works for my environment.
The text was updated successfully, but these errors were encountered: