Skip to content
Advertisement

Tag: bokeh

Bokeh – draw top and right axes

I think this is very straightforward, but I cannot find an answer to it. I am trying to have a bokeh scatter plot with both the top and right axis drawn. I would like to have something like this (generated using gnuplot): Here is my simple bokeh code: Resulting in: So I want to be able to mirror the left/right

How to write custom JS callback in Bokeh (Python)?

I try to build a dynamic chart with Bokeh and I’m sutcked with JavaScript part, wording the Custom JS callback. I precise that I am absolutely not familiar with JavaScript. Here is my dataframe : What I am looking for is a chart with two sliders (slider_TRA & slider_TS) based on the values of variables num_tra and num_ts. Finally, I

Update DataTable on Tap event in Bokeh

I am trying to calculate euclidean distance of two points. Initial distance is calculated in the data. Then, when the user is moving the line, I’d like the distance column to update based on the new coordinates. I can see that x and y columns are updating, but not the distance column. Below is my attempt: Answer Your callback actually

Can I use a Plotly graph in Bokeh?

bokeh does not have a Sankey graph and the Sankey graph available in holoviews is not as good as the one Plotly. Is there a way to embed the plotly graph into a bokeh dashboard? Answer Panel makes it simple to embed Plotly, Matplotlib, Altair, and many other types of plot into a Bokeh-based dashboard, so that you can pull

Position the legend outside the plot area with Bokeh

I am making a plot following the example found here Unfortunately, I have 17 curves I need to display, and the legend overlaps them. I know I can create a legend object that can be displayed outside the plot area like here, but I have 17 curves so using a loop is much more convenient. Do you know how to

Can tqdm be embedded to html?

I want to embed tqdm progressbar to html or at least print it as html tag but i can’t find any documention of it. I only find how to print the progressbar in python notebook. Is it possible to embed it in html? Also is it possible to integrate tqdm with bokeh? Answer Tqdm progress bars can’t be embedded into

Advertisement