Testing the bokeh Elements tutorial and matching the original
See original GitHub issueI think it would be great to just copy the current Elements tutorial, set hv.notebook_extension(bokeh=True)
at the top and make it available on the website (the tutorials could then be called Elements [matplotlib]
and Elements [bokeh]
. This would achieve a few things:
- Show some official bokeh examples on or website.
- Show how easy it is to use the same code and switch backends.
- Test our bokeh support.
- Show people the full range of things that can be done with the bokeh backend.
The main issues I can see are:
- Setting this up on Travis (I think bokeh is already installed though).
- Getting display tests working for bokeh. This may be tricky if there is a fair bit of randomness (e.g uuids) in the bokeh output given the same input.
Issue Analytics
- State:
- Created 8 years ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Running tests — Bokeh 3.0.3 Documentation
Bokeh is a large, multi-language project and relies on complex and comprehensive tests and testing tools to help ensure consistency and prevent regressions....
Read more >Python Data Visualization With Bokeh - YouTube
In this video we will get started with data visualization in Python by creating a top horsepower chart using the Bokeh ...
Read more >Hands-On Tutorial: Bokeh Webapp - Dataiku Knowledge Base
In this tutorial, we'll create a simple Bokeh webapp in Dataiku. It's a scatter plot on sales data from the fictional Haiku T-shirt...
Read more >Visualizing Data with Bokeh and Pandas
The ability to load raw data, sample it, and then visually explore and present it is a valuable skill across disciplines. In this...
Read more >Understanding Bokeh | B&H eXplora
Specular out-of-focus highlights have appeared in photographs since the first photos were taken through lenses. In 1997, Photo Techniques ...
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
Right; as discussed in https://github.com/ioam/holoviews/pull/1196 that’s the only non-3D Element not yet supported by the Bokeh backend.
The idea of setting up fallbacks in this way is one Philipp and I have toyed with but we aren’t completely convinced this is exactly the behavior we want. As it would also require some refactoring, this suggestion is something to think about after 1.4.1 is released.
For now what I have done (PR #374) is update
notebook_extension
to activate the last backend loaded in the resource list. As Jim noted, we can’t know the specified order left-to-right using the keyword syntax:But now you can pass kwargs which is shorter and preserves the order:
In this case, BokehJS would be loaded and the matplotlib backend would remain active. Specified the other way round and the bokeh backend would be automatically activated.