Questions tagged [bokehjs]

BokehJS is an interactive visualization library for JavaScript. It is the backend of the Bokeh Python Library. Please Only use this tag for BokehJS questions, use [Bokeh] for Bokeh Python API questions

Bokeh is an interactive visualization library for modern web browsers. BokehJS provides an API for use in JavaScript, there also exists a Bokeh Python Library which utilizes BokehJS as its backend. It provides elegant, concise construction of versatile graphics, and affords high-performance interactivity over large or streaming datasets. Bokeh can help anyone who would like to quickly and easily make interactive plots, dashboards, and data applications.

134 questions
0
votes
1 answer

Bokeh update map tooltip using select or slider

I am trying to update a worldmap tooltip using a slicer or dropdown select. I got following question which sorted the most of the stuff for a Bokeh Slider custom JS callback import pandas as pd import random from datetime import timedelta df =…
Manish Singla
  • 381
  • 1
  • 4
  • 11
0
votes
1 answer

Access to bokehJS source code is forbidden when trying to run minimal example from user guide

I am trying to run the minimal example from the BokehJS user guide. I created an html file with the following code (pasted from the above link): Complete Example
pfincent
  • 452
  • 2
  • 7
  • 21
0
votes
1 answer

Does the Bokeh library have a JavaScript API?

It has so-called JS client. But all the docs or demos are written from the point of Python developer. Does bokeh has standalone, non-python JavaScript API, and is it used by anyone in non-python environments?
Alex Craft
  • 13,598
  • 11
  • 69
  • 133
0
votes
1 answer

vbar_stack bokeh update from dropdown

I'm trying to upadte a vbar_stack plot in bokeh everytime I chosse a different category from a dropdown, but as legend_label is inside the vbar_plot, I can't update it in the update function. I'll add the code to be more clear def…
Jose Ruiz
  • 77
  • 2
  • 13
0
votes
2 answers

Bokeh: CustomJS Error - Missing BokehJS library

I'm trying to make a TextAreaInput to scroll-down automatically with every text update, when I tried to used CustomJS, I found this error on the browser generated script: Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is…
Ahmad
  • 13
  • 2
0
votes
1 answer

Bokeh Slider With JS Callback Maps To Same Value

I followed the guide posted here to create a visualization tool similar to the one from Gapminder (the animated bubble graph) using my own dataset. Everything worked fine (although I had to change a few lines for the slider JavaScript Callback code…
0
votes
1 answer

Bokeh: How to update legends with interactive plotting with Checkbox?

I have an interactive Bokeh plot where (for the sake of simplicity) I can click on multiple Checkboxes (think of them as light switches) and plot their sum (the cumulative brightness in the room). This is plotted with a theoretical set of…
Brain_overflowed
  • 426
  • 1
  • 5
  • 21
0
votes
2 answers

BokehJS import not working properly in React app

I'm trying to use the plotting library BokehJS with a React app that was set up using create-react-app myapp The library was installed using npm install bokehjs Inside the myapp/public/index.html file, the following lines were added (as explained…
pfincent
  • 452
  • 2
  • 7
  • 21
0
votes
1 answer

Not able to use BokehJS with Angular8

Please find the below error log which i got it in the browser: AppComponent.html:1 ERROR TypeError: FlatBush is not a constructor at new SpatialIndex (vendor.js:90501) at…
0
votes
1 answer

BokehAPP with 'Select' for changing plots not showing one of the Plots

I´m using Bokeh Server for building an interactive plot that changes with a list of options ['A','B','C']. It works fine. Its defalut value is 'A' and the plots shows fine. If I switch from 'A' to 'B' or 'C' it works fine aswell. If I switch from…
Bruno
  • 87
  • 5
0
votes
1 answer

Uploading a file from client to server in python bokeh

We have set up a bokeh server in our institute, which works properly. We also have a python-based code to analyse fMRI data which at the moment uses matplotlib to plot and save. But I want to transfer the code to bokeh server and allow everybody to…
Vahid S. Bokharaie
  • 937
  • 1
  • 9
  • 25
0
votes
1 answer

Bokeh/Python: CustomJS to modify column layout

I’m generating a Bokeh report which uses tabs, sometimes I can get a lot of these and navigating the document becomes really cumbersome. Luckily the plots have some attributes which could be used to group some plots together. So I was trying to…
0
votes
0 answers

Bokeh plots an empty map from a shapefile converted to geojson and don't know what's wrong

I have some sample code to plot a map of Ontario using Bokeh. The code reads in the shapefile and converts it to a geojson file as suggested from examples available in the internet. The shapefile source data is the Ontario census subdivision…
0
votes
1 answer

Bokeh custom tool plotting a vertical line profile of an image

I need to plot a profile of an image, which is, to plot values of a matrix column. And to implement it as a drag tool, which would automatically update the lower plot based on cursor position over the upper plot: Based on "A New Custom Tool"…
Antony Hatchkins
  • 31,947
  • 10
  • 111
  • 111
0
votes
1 answer

Bokeh: trigger callback if another callback is triggered

I am trying to make a basic search tool for my Bokeh application. The basic process is: A user enters a search term into a TextInput widget. The TextInput value is passed to a search function and that returns a list of (tuples) options for a…
BenP
  • 825
  • 1
  • 10
  • 30
1 2 3
8
9