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

Custom css for bokeh widgets in one bokeh app

is it possible to provide different css to same widget? For example, my bokeh have two select box and i want to use different css for each select box(background color bule for one select box and yellow for another). i tried to customize the css of…
Thiri Lwin
  • 11
  • 2
1
vote
0 answers

Autoscale the color map for Holoviews using Datashader for multiple large images

This is the first question I have ever asked on Stack Overflow. Please forgive me if I make any mistakes when asking this question. I am attempting to view several large images using the Python library, Datashader with Holoviews, using Bokeh as the…
Sam Skye
  • 11
  • 3
1
vote
1 answer

How do I find the value of a bokeh line glyph

Im trying to build an application in which I need to extract the x,y value of a bokeh line. Im able to do this for a bokeh circle (see below, where I find the x value of the circle is tmp1.glyph.x = 2), but the same syntax doesnt work for a line…
AlexSG
  • 11
  • 1
1
vote
0 answers

Using local images as markers in Bokeh for Python graphs

I want to use local images as the markers on a figure rather than the provided shapes. Like this image source So instead of: slider_renderer = plt.square(x='x_mercator', y='y_mercator', source=payload_at_timestamp, size=20,…
brigand
  • 11
  • 1
1
vote
0 answers

How to add an errorbar to jittered scatter plot in holoviews/hvplot

I have a DataFrame like this: biases = ['+5V']*3 + ['-5V']*8 df = pd.DataFrame({'Bias': biases, 'Ea': [1.059, 0.287, 0.451, 0.533, 0.587, 0.466, 0.805, 0.499, 0.473, 0.721, 0.461], 'dEa':…
gioarma
  • 418
  • 2
  • 15
1
vote
1 answer

Holoviews plot with horizontal scrollbar?

I would like to realize a holoviews plot with a scrollbar for the time/x axis. In detail, I want to plot a long ecg signal (20 minutes) and be able to display a frame of e.g. 10 seconds with the possibility to scroll along the entire signal. Is…
25334
  • 25
  • 4
1
vote
0 answers

Linking DateRangeSlider to data on Bokeh map

Hopefully you can help me out. I am trying to make a Bokeh map using the ACLED dataset [link to specific dataset]. I can successfully create the map with an interactive legend where the user can hide datapoints by category. The dataset also contains…
1
vote
0 answers

Is there a better way to plot interactive 3d graphs using pandas, bokeh, or python on Jupyter Notebook?

I am processing x, y, and z data to have a floor map with high and lows. Z being a displacement sensor. I am having some difficulty plotting a good representation of my data. I am also fairly new to pandas and python in general. I have tried doing a…
1
vote
1 answer

Best fit curve (polynomial) on scatter plot with bokeh

I have created a scatter plot with bokeh. I want to generate a best fit polynomial curve on the data, and superimpose the curve on the cloud of points. I have generated a 2nd degree polyline with polyfit: import numpy as np from bokeh.plotting…
1
vote
0 answers

Dynamic legend with Bokeh - scalling issue

we have developed some interactive dashboard on DataBricks using Bokeh. It works out splendid and provides an easy data exploration for us. However, the ability to use the legend to show and hide graphs have proven to depend on the aspect ratio of…
1
vote
0 answers

Python Bokeh iterate over lat/lgn list and Geomap plot them

I have a list of random lat and lng values: values_list = [['54.866451477248', '14.960403166572'], ['54.864632875802', '14.961946867018'], ['54.954669039256', '14.948996004456'], ['55.062464907296', '14.942403568565'], …
hello543
  • 137
  • 7
1
vote
1 answer

Empty Chart for vbar in Bokeh

I'm very new to Data Visualisation with Bokeh and have been trying some charts with different glyphs. I wanted to plot a vbar graph depicting Indian weather in Jan (b/w 1901 - 2017) with data from a csv file. I've seen that the chart turns out empty…
lalz
  • 21
  • 3
1
vote
1 answer

Holoviews/Bokeh Radial Heatmap with various cmap

So I have created a radial HeatMap with Holoviews & Bokeh, but for the moment it uses a single cmap (left) and I would like to apply different cmap (right, modified with Gimp). Is there a way to do so ? (Radial HeatMap based on…
1
vote
0 answers

Custom copy tool in bokeh

I am trying to create a copy to clipboard using the new tool and save tool examples provided. This seems to work for the gesture tool but fails for the copy tool as shown here attempting to emulate the examples. This doesn't display anything in the…
knk
  • 856
  • 3
  • 10
  • 24
1
vote
0 answers

bokeh, ipywidgets, jupyterlab and voilà

I'm trying to create a webapp using bokeh. Mostly, it will consist of markdown text and some figures. Right now I'm stuck a getting voilà to show two bokeh figures side by side. Within the notebook everything runs smoothly, but in the voilà…
manu
  • 1,333
  • 2
  • 11
  • 24