4,742 questions
0 votes
0 answers
23 views
Python, bokeh, hover, touch screen/mobile
I was wandering if anyone has the same problem. I have several apps running through bokeh server. It was always tricky to use the hovertool when accessing via mobile but to some extent worked. However,...
0 votes
1 answer
58 views
I don't understand why the monthly sst is not changing in browser
Hi all, I don't understand why the monthly sintetic sea surface temperature is not changing in the browser after running this script (I checked that monthly data is different): import numpy as np from ...
0 votes
1 answer
62 views
Bokeh server: plot shared data in several sessions
I am relatively new to bokeh, but very familiar with python. I want to use a Bokeh server to create a graphical live viewer for my data. I want to retrieve the data in a single thread and then pass ...
0 votes
1 answer
52 views
How to add labels to holoviz multi-index bar graphs?
I am working with multi-index bar charts. My implementation uses python/pandas/hvplot. For example, the example on the hvplot documentation works for my case - https://hvplot.holoviz.org/reference/...
0 votes
2 answers
73 views
Twin Axis with linear and logarithmic scale using bokeh plot Python
I have a linear Bokeh plot under Bokeh version 3.3.0. I would like to add a (scatter) plot on an additional x-axis with logarithmic scale. This is my code: import pandas as pd from bokeh.plotting ...
0 votes
0 answers
26 views
Python bokeh serve does not recognize local package located in the parent directory
I am hosting python script via: bokeh serve example.py and example.py loads local package 'local_module' located in the parent directory. When opening associated local host html (http://localhost:5006/...
0 votes
0 answers
44 views
Dynamically add tabs with figures in bokeh
I have a bokeh server application (3.7.0). When the application is started one tab is shown and when the execute button is pressed another tab is added. It works as long as the second tab does not ...
0 votes
1 answer
44 views
How do I validate Hovertool with the correct renderer in Python >= 3.9.7? I shifted from Python 3.8.5 to 3.9.7; my script no longer runs successfully
I have a script that plots a few series voltage vs. speed on a bokeh plot for comparison. It includes hover functionality for easier review of the data. It ran successfully when i used python 3.8.5 ...
-3 votes
1 answer
83 views
How to download, convert, and process files in three queues at the same time using Python
I am trying to speed up a process I have been doing for a long time. I currently download all the files. Then I convert them all to CSV. Then I use bokeh to create an interactive chart for looking at ...
2 votes
0 answers
41 views
Figures with shared legend - Bokeh
I would like to do two figures, coming from the same dataframe, with a shared legend. The main goal is to be able to have one single legend for both plots and to hide data with the click_policy='hide' ...
0 votes
1 answer
45 views
Bokeh DataTable not loading
I'm trying to include Bokeh tabular charts on my web app through sending to the templates as script/div using 'components', however the table is not loading (not even showing when I do show()). I ...
0 votes
1 answer
89 views
pandas resample and candlestick chart
I'm trying to figure out how to create a candle stick chart with the data from pandas resample method. But let's start with this simple example: import pandas as pd from datetime import datetime from ...
-1 votes
1 answer
97 views
Django Bokeh Stacked Bar Chart
Adding more details per guidance... Here's my model: class Orders(models.Model): Order_ID = models.CharField(max_length=50, primary_key=True, auto_created=True) Order_Desc = models.CharField(...
0 votes
1 answer
41 views
How to remove Holoviews BoxWhisker duplicate legend?
I'm using holoviews and panel in python with a bokeh backend to create a boxplot. Unfortunately, the legend in the boxplot shows all the entries twice. I don't know if I am doing something wrong or if ...
0 votes
0 answers
26 views
Changing line name dynamically in Bokeh
Is it possible to change the names of the series displayed on the plot dynamically (depending on the current selection of the user)? This is my attempt, but the legend doesn't change. df['y'] = df....