Skip to content
Advertisement

Tag: bokeh

Highlighting the neighborhood of a node on selection

I created a graph using networkx and I am trying to plot it using bokeh. Currently, I am able to highlight the node that I clicked on, as well as the edges linked to the selected node. To reproduce the example, see the following code inspired from the official bokeh tutorial: I would like to be able to highlight not

Euro sign in Bokeh HoverTool

Python 3.10. Bokeh 2.4.3 I have searched and searched but I can’t find a solution. I’m trying to get a euro sign (€) to appear in a Bokeh HoverTool tooltip. The dollar sign is pretty easy to do: Changing the $ to a € doesn’t do anything. I’ve tried to somehow use the PrintfTickFormatter with hover.formatters but while the formatter

Bokeh: how to custom scale of ColorBar?

I make a figure (empty to simplify the code but I will add many elements), and a ColorBar to designate the color of different elements. Now the color bar gives this result: But I’m not satisfied because I’d like to have a different scale of colors where all positive values are red and all negative values are green. Moreover, I’d

Bokeh Networkx graph slider not updating correctly

Here is a minimal working example for the problem I am facing: I am building a simple graph with Networkx and then displaying it with Bokeh, adding a slider to show only the edges whose weight is greater than the slider value. Unfortunately, this works perfectly when the value increases, i.e., the slider moves to the right, whereas it stops

Bokeh pie chart show percentage labels upside down

I have a dataframe with amounts grouped by categories and I want to generate a pie chart containing the percentages per category. I am using the Bokeh library in Python. My problem is that some percetange labels are not displayed properly in the pie chart as shown in the following image. Here is the code that I use to produce

Importing count() data for use within bokeh

I am trying to create a visualisation using the bokeh package which I have imported into the Databricks environment. I have transformed the data from a raw data frame into something resembling the following (albeit much larger): From there, I wish to create a line graph using the bokeh package to show the number of papers released per month (for

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 initialize the FPGA but the rest of the flow is identical being the capturing of the traces and analyzing them. The code which does the analysis and errors

Advertisement