Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
45 views

So I am working on a dashboard in which there are bunch of KPIs and Graphs. The dashboard have filters that when applied, filter whole dashboard. Before I was totally reloading the page and every ...
Balaaj Raza's user avatar
0 votes
2 answers
90 views

I'm trying to hide the toolbar from the following Bokeh example without any success: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> ...
Lucas Almeida Carotta's user avatar
0 votes
1 answer
71 views

I don't understand why my graphs are not showing up. When I introduce 2 values, capacity and efficiency, the graphs are supposed to show up in my Bokeh interface. Can you tell me why this doesn't ...
Joao Ribeiro's user avatar
1 vote
1 answer
334 views

I have a data table with 40+ columns. I can choose which columns to show in the data table by changing the TableColumn attribute visible to True or False. Here's a small example filtered_table_data=df[...
Gingerhaze's user avatar
0 votes
1 answer
87 views

So I'm trying to create a plot with BokehJS. This plot needs 3 axes (left, right, bottom): The plot looks like this As you can see, the right y-axis is pretty ugly, you can't read any data from ...
mrblue6's user avatar
  • 614
0 votes
0 answers
61 views

I would like to update a network graph using a datetime range slider with Bokeh. So appearing/disappearing nodes depending on the datetime range, and also width of edges is proportional to the number ...
Laure D's user avatar
  • 897
0 votes
1 answer
38 views

I have tried the below code to generate bokeh graphs for each of the element when the their respective check boxes are ticked. data is a df with columns like 'id', 'data_point', 'max', 'min' I am ...
noob's user avatar
  • 13
0 votes
0 answers
491 views

I want two plots that stretch to fill up the entire window, like this: # to run this, use: bokeh serve --show test.py from bokeh.layouts import column from bokeh.plotting import figure, curdoc ...
Jase's user avatar
  • 1,105
1 vote
0 answers
2k views

I am using python3.10 with Bokeh2.4.3. My goal is to create a simple scatter plot with only a few points (around 10-15 data points). But if I click one of those data points, I want it to open a new ...
AbdulMuhaymin's user avatar
0 votes
1 answer
660 views

How to save plots in Bokeh JS as PNG programmatically? The documentation gives the following example in Python: from bokeh.io import export_png export_png(plot, filename="plot.png") I ...
Mark wijkhuizen's user avatar
1 vote
1 answer
2k views

I made a plot in Bokeh but when I try to export it as a svg file I get the following error: OutputDocumentFor expects a sequence of Models. My code is: # plot 2D histogram def plot_hist(ch1, ch2, ...
Carmen Grandi's user avatar
0 votes
1 answer
254 views

In BokehJS 2.4.2 the FreehandDrawTool documentation is showing in the toolbar, but no line is drawn when dragging the mouse in the canvas. Here is a minimal example to reproduce the problem. This ...
Mark wijkhuizen's user avatar
0 votes
1 answer
329 views

Here is a MRE for a plot I made using Bokeh 2.3.2. The actual data set contains around a hundred projects which each have up to 10 tasks and are stored in a df with apprixmately 40k rows. When I save ...
Matthew Borish's user avatar
0 votes
1 answer
695 views

I just took Bokeh for a spin on a Django site. Lot of fine tutorials out there and really easy to get a quick example running. For example, I have a Django view that offers something like: ... ...
Bernd Wechner's user avatar
0 votes
1 answer
2k views

To preface, I have never used JavaScript. After hours of searching I still do not quite understand how to solve my particular problem. I have been utilizing bokeh to make interactive plots for a ...
please_help_me's user avatar
1 vote
0 answers
179 views

Following this example, I am trying to build a network graph using Bokeh where I can use a select widget to filter my data. My data will look something like this: source target var1 var2 ...
linacarrillo's user avatar
1 vote
0 answers
252 views

In order to set axis ranges dynamically I use x_range = DataRange1d(follow='end', follow_interval=duration, range_padding=0, range_padding_units="percent") which updates the start/end ...
Tengrath's user avatar
1 vote
0 answers
185 views

I've been trying almost everything from Bokeh documentation and I don't know if this is possible. What I want is to use regular html (input/textbox/table and later a Vue/React component) to get the ...
Eduardo Rios's user avatar
0 votes
1 answer
470 views

I am new to bokehJS and I need to update the plot based on dropdown values. For initial load am using below code to add arrow in layout of the plot. But, whenever I change the value on dropdown plot ...
Pritam's user avatar
  • 1,410
0 votes
1 answer
236 views

I want to write a custom component for Bokeh, that means that I have to edit a TypeScript file that is somewhat "disconnected" from its environment. My question is how to make linting work ...
Ralph's user avatar
  • 163
1 vote
1 answer
2k views

Is it possible to use js_on_change with bokeh to dynamically update text that is placed next to a plot? For example, using this code snippet from a different question from random import random from ...
Thomas's user avatar
  • 1,351
0 votes
1 answer
620 views

import pandas as pd from math import pi from datetime import datetime as dt from bokeh.io import show from bokeh.models import DatetimeTickFormatter from bokeh.plotting import figure d = {'col1': [dt(...
bachree's user avatar
  • 138
1 vote
1 answer
1k views

My question is very similar to this one, but I still cannot find how to adapt the answers to my problem. I have a dataframe with 100 columns. I want to use two sliders in Bokeh to select one column to ...
ffgg's user avatar
  • 184
0 votes
1 answer
234 views

I'm trying to write a code which adds hovertool performing customer js-code over figure.line object. In order to do it I used userguide code as example (https://docs.bokeh.org/en/latest/docs/...
krouk's user avatar
  • 315
0 votes
2 answers
386 views

Resize bokeh plot from CustomJS. window.setXYDimension = function (width, height) { fig.plot_width = width; fig.plot_height = height; console.log({fig}); fig.reset(); //reset doesn't exist ...
Ajay's user avatar
  • 5,001