Conda update fails with SSL error CERTIFICATE_VERIFY_FAILED

I have a problem with conda update. Specifically, I tried doing conda update <package> , and I got the following error: Could not connect to...

How do I remove grid lines from a Bokeh plot?

I would like to remove the grid lines from a Bokeh plot. What is the best way to do this?

Bokeh widgets CSS

I've found the following problem when working with Bokeh (0.12.4): When I set the width of a 'Select' element in such a way that it can not display its contents in full anymore Bokeh will adapt...

bokeh DataTable with conditionally colored cells

I want to display a DataTable in bokeh, where the cells are either red or orange, according to the text content of the cell. For example, if the cell contains the word "error", then the cell is...

Bokeh Custom Save Tool

I'm Trying to create a custom Save tool in bokeh, and here's what I have: class NewSaveTool(Tool): JS_CODE = """ import * as p from "core/properties" import {ActionTool, ActionToolView} from...

Saving html file with images in bokeh

I'm creating a bokeh plot containing several images. I create and show my file like this: output_file(my_dir + "Graphs\\graph") show(bar) It then shows me the plot and creates a graph.html file...

Bokeh, zoom only on single axis, adjust another axis accordingly

How can one make bokeh use zoom only on one axis and automatically scale objects, so they take exactly the space given and add some padding on extreme points off zoom-able axis parallels, while...

Setting up Apache Superset with Nginx as Reverse Proxy

I'm having trouble setting up apache superset with Nginx as a reverse proxy (This is probably an nginx misconfig). Server block of config (if I'm missing something, let me know and I'll add...

Using Kafka with Android

I am trying to do a sample application with kafka to showcase it's streaming capabilities. Here is exactly what I want to do: Create an Android Application to Send Data to Kafka Topics through...

`jupyterlab` doesn't recognize `nodejs` and `npm` installations

I'm having troubles installing the jupyterlab_bokeh extension. $ jupyter labextension install jupyterlab_bokeh Errored, use --debug for full output: ValueError: Please install nodejs and npm...

Bokeh inside Google Colab

Matplotlib doesn't give me the visualisation I want I like the interactive features of Bokeh and I would like to see if someone was able to get it running inside Google Colab? I installed the...

Two interactive bokeh plots: select a value in one graph and change the other

I want to create an interactive python Bokeh plot. I have two dataframes which are linked by the column names . When I select a bar in plot1 I want to show in plot 2 the data of dataframe 2 (df2)...

Dependencies and packages conflicts in Anaconda?

I'm using Anaconda 5.1 and Python 3.6 on a Windows 10 machine. I'm having quite a few problems ; I tried to add some useful tools such as lightGBM, tensorflow, keras, bokeh,... to my conda...

How to change dataframe when button is pressed in Bokeh?

I am trying to design a front end display for my dataframe.I want to put a button ,selecting which filters my dataframe.I have tried reading documentation and sample examples but till now I...

Bokeh DateRangeSlider

I have recently started working in Bokeh, finished some quick course on datacamp and I got stuck on creating a DateRangeSlider. Slider itself looks ok to me, changing the values on the slider...

How to draw readable, preferably interactive, network graphs with python?

I'm trying to draw a graph of any network running my script. I use scapy to collect packets and would like to have a node per computer communicating, and an edge per connection. The issue is I...

How to add a categorical legend to networkx bokeh plot

I have the following code to make a bokeh plot from NetworkX p = figure(x_range=(-1.1, 1.1), y_range=(-1.1, 1.1)) p.grid.visible = False p.axis.visible = False graph_renderer = from_networkx(G,...

How can I embed a bokeh viz to a google slides?

I have a bokeh visualization as an HTML file. Looking for some time how to embed that file to google slides but couldn't find a way. Does anyone know how I can visualize a bokeh plot on the google...

How to handle overlaps in shapefile with Bokeh color map

I would like to generate a chloropleth map with Bokeh. I have my dataset ready with France departments and their population. I also downloaded France departments shapefile. After a first trial, I...

Python: why do I get an error when I import geopandas?

I try to import geopandas in my jupyter notebook. import geopandas as gp and I get the following error: ImportError:...

Are there any sample API without CORS?

Currently i need a sample API to test AjaxDataSource on my Bokeh project( checked all API from this one https://github.com/toddmotto/public-apis) But all of them require Cross-Origin Resource...

How can I rotate the arrow marker in a Bokeh plot to show wind speed direction?

What I am trying to do is to use a scatter plot to display wind speed and its direction. I wanted to use the triangle marker and use the rotation to indicate wind speed. However, since bokeh...

WEBP support not installed error with Pillow included in Anaconda

I have written a small code to open webp image in the Anaconda prompt. from PIL import Image im = Image.open('test.webp') It causes the following...

"AssertionError: Torch not compiled with CUDA enabled" in spite upgrading to CUDA version

I figured out this is a popular question, but still I couldn't find a solution for that. I'm trying to run a simple repo Here which uses PyTorch. Although I just upgraded my Pytorch to the latest...

Python Bokeh Hovertool with semi-transparent background

I wish to generate a scatterplot using Bokeh, with a transparent / semi-transparent image as part of the HoverTool. However, with my current implementation, both the html tooltip, and the image...

VSCode notebook silently failing show(modify_doc)

When using the built-in Jupyter notebook editor in Visual Studio Code and using the show(modify_doc) way of plotting, the result is not displayed. Showing individual plots does work. I tried...

Extension installation error: Please install nodejs 5+ and npm before continuing installation

While trying to embed bokeh plots in jupyterlab. I used their recommended codes (below) jupyter labextension install @jupyter-widgets/jupyterlab-manager, jupyter labextension install...

Bokeh - add edge labels/edge attributes for Networkx Graph

I'm trying to visualize the network graphs using bokeh. I'm able to add more information and functionality, such as: sizing and coloring nodes by degree sizing and coloring nodes by modularity...

Flask with `import bokeh` with 2 bokeh graphs without external bokeh server and not "Models must be owned by only a single document"

TL;DR I am beginner in bokeh. I've read https://docs.bokeh.org or others examples in stackoverflow and github but I don't find examples in Flask with import bokeh with 2 bokeh graphs without...

Can't reach localhost urls provided when running docker images

When I try to run a docker container that starts jupyter with os command inside a script or a neo4J docker image I have a network issue. I either have ERR_SOCKET_NOT_CONNECTED or...