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
Tag: bokeh
Reverse a Bokeh Button operation by clicking the button again
I have a vision for a dashboard where you can click on one of several Buttons to perform additive operations, and undo the operation by clicking on the button again. Actually undo is the wrong word, as I do not want the second click to restore it to an original state as that could interfere with the results of another
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
How to define Python Bokeh RangeSlider.on_change callback function to alter IndexFilter for plots?
I’m trying to implement a python callback function for a RangeSlider. The Slider Value should tell which Index a IndexFilter should get for display. For example: If rangeslider.value is (3, 25) my plots should only contain/view data with the Index from 3 to 25. Answer Some notes: time is longer than the rest of the columns – you will receive
Use Bokeh RadioGroup to plot selected subset of Pandas DataFrame within Jupyter
Goal Plot subsets of rows in a Pandas DataFrame by selecting a specific value of a column. Ideally plot it in jupyter notebook. What I did I have minimal knowledge of Javascript, so I have managed to plot by running Bokeh server with everything written in Python. However, I couldn’t make it in Jupyter notebook with a Javascript callback. My
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