Bee-swarm plot

Hello!

I want to use bokeh server to show a bee-swarm plot (for example).

Is there any direct or workaround way to generate this kind of plot in boken?
If it’s not possible, is there a way to embed SHAP or any other plotable library plots on a website with bokeh server?

Thanks!

You can certainly draw that kind of plot with Bokeh, but you would need to put the pieces together yourself. E.g. you would have to compute the scatter point positions, using whatever specialized dodging that these kinds of plots seem to have, yourself. Bokeh has some basic “automatic” coordinate transforms like (random) jitter but for the most part just puts the points where you tell it to (so the explicit corollary is that you have to figure out what to tell Bokeh).

If it’s not possible, is there a way to embed SHAP or any other plotable library plots on a website with bokeh server?

Possibly. You could use a custom template and just add non-Bokeh content that way, or you could potentially embed new content in a Bokeh Div. There’s not really enough information here about the details of the situation to say anything more concrete than that.

Hey Bryan,

Thank you for your reply.
I managed to build the figure with a custom-made scatter plot.

Cheers,
Ofir

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.