-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Document and raise better exceptions about backend loading #999
Comments
I believe you just need to load the bokehJS. At the top of the notebook, try: import holoviews as hv
hv.notebook_extension('matplotlib', 'bokeh') Then it should work as long as bokeh is installed. One thing we should do is improve the error message here so thanks for reporting this! |
Correct, definitely needs a better exception though. There's a few issues like this now that the plotting backends aren't imported by default, so we should catalogue them and make sure to raise better exceptions. |
Ah, yes, that fixed it. Thanks! It might also be a good idea to be explicit this is required "Bokeh Backend" page of the docs, where this is described. I had assumed from the language there that you could use the cell output magic after only loading the matplotlib option in the hv.notebook_extension. Probably obvious to those who are more familiar with the way this kind of thing works, but it wasn't for me. |
Reopening and repurposing this issue. |
Should be easy enough to fix so I'm assigning this as something to fix by 1.7. |
The output magic error message was improved, closing. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When I try to use the %%output cell magic to switch to the bokeh backend, I get the error "Error: list index out of range".
The text was updated successfully, but these errors were encountered: