Skip to content

Tag: python

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 highli…

Eel – ask for directory input

I am developing modern-looking local app in Python with Eel and I want to open OS’s default dialog to select directory. But I have found that Eel does not provide that. I have tried: dialog from HTML/JS, but browser provides just dialog for file/s selection. local dialogs from other libraries, but they …

qtablewidget get new value after hitting “return”

i have a qtablewidget which is updated asynchronosly. now i am trying to set new values into the cells and read them back after hitting “enter/return”. i have a function that catches the keypressevent and try to read the actual value from the cell that was changed. the problem: i only get the prev…