Skip to content

Instantly share code, notes, and snippets.

View mjarosie's full-sized avatar

Maciej J mjarosie

View GitHub Profile
@mjarosie
mjarosie / hover.py
Last active November 2, 2019 19:10
Fix making https://github.com/bokeh/bokeh/pull/9153 build successfully
"""Example demonstrating hovering with line widths specified in the data source - with bokeh server"""
from bokeh.io import curdoc
from bokeh.plotting import figure
data = dict(
x=[0, 0, 25],
y=[5, 20, 5],
dw=[20, 20, 10],
dh=[10, 10, 25],