Questions tagged [bokeh]

Bokeh is a library for interactive visualization (including streaming or large datasets) that targets modern web browsers for presentation, and high level languages such as Python, Scala, and R for use.

Bokeh is an interactive visualization library for high level languages such Python, R and Scala, that natively targets modern web technologies. It is easily embeddable in common web-frameworks and can be used for standalone interactive documents, or server-backed data applications for large and streaming datasets.

4729 questions
1
vote
0 answers

How do you add 1W, 1M, MTD, 1Q, 1H, 1Y, YTD Range Buttons on a Bokeh Chart

I am trying to get 1W, 1M, MTD, 1Q, 1H, 1Y, YTD buttons on a Bokeh chart. I came across a Plotly example which is as follows: c_candlestick.update_xaxes( title_text = 'Date', rangeslider_visible = True, rangeselector = dict( …
1
vote
2 answers

Network graph error: failed to validate StaticLayoutProvider(id='1058', ...).graph_layout:

I managed to solve half of my issue so I modified this post, the only problem I encounter now is a error type that has no record to find a solution, if anyone know why this error happens and can give me some advice or some links lead my way to a…
Alicia
  • 75
  • 8
1
vote
1 answer

How to get value of current theme in bokeh?

In bokeh you can set the theme easily: from bokeh.io import curdoc curdoc().theme = "caliber" I am not sure how to simply get a string readout of the current theme. I tried curdoc().theme and that returned
eric
  • 7,142
  • 12
  • 72
  • 138
1
vote
1 answer

For looping overview with Holoview and Bokeh, theme is not taking effect

Trying to create multiple plots in a loop, using Holoview and Bokeh. The theme is taking effect in the first, single plot, case, yet being ignored in the second case. What is it that I am doing wrong? import numpy as np import pandas as pd import…
user2948605
  • 13
  • 1
  • 2
1
vote
1 answer

Chipwhisperer TVLA has errors in site-packages

I'm trying to use the TVLA assessment provided by Chipwhisperer on my FPGA board. (Clone of the repo tagged as 5.1.3) They provide the PA_TVLA_1-Performing_TVLA_Testing_for_Crypto_Validation.ipynb Jupyterplaybook for that. I modified it to…
Tarick Welling
  • 3,119
  • 3
  • 19
  • 44
1
vote
0 answers

Bokeh: Force onclick event to a Legend via JS callback

I'm using Bokeh 2.3.0. I have several items in my Legend that are all muted on load. I provided a button that I want to use for toggling the visibility of all legend items. Here's what I have now: Here's my JS callback: I believe I'm close enough…
firnnauriel
  • 2,047
  • 7
  • 27
  • 44
1
vote
1 answer

How can I add a vertical line to a Bokeh line plot by clicking on it (maybe with a TapTool?)

I would like to have a feature to show a vertical line in my line plot when i click on it. I use that, because i want to zoom in and add the vertical line, zoom out and see where it crosses other line plots in the same figure. The problem with the…
Jimbo
  • 11
  • 2
1
vote
1 answer

Export dask task stream to svg

I am doing data analysis with dask_yarn on company cluster. Dask is showing dashboard on specified link. After finishing all the tasks I want to save dask dashboard as svg file. There is no tool for doing this in toolbar. How can I save the results…
1
vote
0 answers

Bokeh: Is there a way to style buttons of a ButtonGroup individually?

Is there a way to style the individual buttons of a ButtonGroup (e.g CheckboxButtonGroup) in bokeh 2.3.0 server application? By styling, I mean giving different colors to each of the options. My first question is, if this is generally possible by…
Crysers
  • 455
  • 2
  • 13
1
vote
1 answer

Python: Bokeh Plotting Setting the Vertical Axis (Y-axis) Using Function as Scale

I wanted to create a weibull probability plot using Bokeh. Based on the reference (linked below), https://www.itl.nist.gov/div898/handbook/eda/section3/weibplot.htm The y-axis of a weibull probability plot has an axes with scale: ln(-ln(1-p)). Let's…
1
vote
0 answers

Bokeh: How exactly Callbacks are processed

Can anyone give me some background information on how bokeh callbacks in bokeh server 2.3.0 work internally? If I edit a bokeh object within a callback, the updated object only is displayed, when the callback just finished. In the small example…
Crysers
  • 455
  • 2
  • 13
1
vote
1 answer

How can I add a variable number of custom hover fields, with respect to node, on a HoloViews plot? (python and bokeh backend)

I'm working on getting interactive networks so I can send datasets around to collaborators. I've found that HoloViews is the most intuitive option for interactive networks. I'm using Bokeh for the backend not for any reason other than that's what…
O.rka
  • 29,847
  • 68
  • 194
  • 309
1
vote
1 answer

bokeh multiple charts linking behaviour

I have two charts. When I zoom in on the top or bottom chart the x-axis both update and show the same date range which is great. The problem is the y-axis on both charts is quite different so when say I zoom in on the top chart both the x & y axis's…
mHelpMe
  • 6,336
  • 24
  • 75
  • 150
1
vote
1 answer

bokeh candlestick create small gap between candles

I have a candlestick chart that works nicely with bokeh. The only issue I have is the data is 1 minute data and chart can look a little squashed together. Is there anyway to create a small gap between the candlestick bars? update - code import…
mHelpMe
  • 6,336
  • 24
  • 75
  • 150
1
vote
0 answers

Bokeh lineplot with dropdown menu is not linked / white screen

I have a script to plot a line graph of covid-19 deaths using bokeh in python. I've added a dropdown menu which lets the user choose a country to plot the new_deaths_per_million based on a datetime axis (date). My problem is that the dropdown menu…
ravenb
  • 13
  • 3
1 2 3
99
100