-
Notifications
You must be signed in to change notification settings - Fork 82
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
evalml plots don't show up in Jupyter Lab #1040
Comments
@freddyaboulton thanks for filing! Yes, we should update our docs to mention that our graph methods ( I run a jupyter notebook server locally, but I don't run jupyter lab. I don't recall ever having to install a plotly extension. Any idea why that is? Another thing I think we should do is to have those methods warn to stdout if they can't show a plot. |
@dsherry To render plotly plots in a jupyter notebook you just need ipywidgets (which is listed as a non-core dependency in requirements.txt). I don't know why jupyter lab requires more steps to work well with plotly. |
I like the idea of warning to stdout when they can't display too! |
@freddyaboulton got it. Then I think the fix here would be to a) update the Model Understanding docs to mention ipywidgets, and b) raise a warning when you call a graph method but ipywidgets isn't installed. |
@bchen1116 should this be "In Progress"? |
@bchen1116 found that even if you pip-install
Next steps
|
|
@bchen1116 makes sense. We should definitely include a link to the plotly docs you sent to me earlier, because they describe the problem pretty well. They don't explain why, but they only list needing extra stuff for jupyter lab and not for jupyter notebooks--I was confused because I usually just run jupyter notebooks and have never had this problem. So, we should highlight that this problem appears to only be for jupyter lab. |
I was testing out Jupyter Lab this morning and I noticed that our plots don't show up here. This is a documented issue with how plotly and jupyter lab interact.
I had to install the jupyter lab plotly extension in order to get the plots to show up. This requires node to be installed which is annoying.
Maybe the solution is to just add a section to the FAQ that points users to the plotly getting started guide and suggest they use jupyter notebook if all else fails?
Before installing plotly extension
After installing plotly extension
The text was updated successfully, but these errors were encountered: