Skip to content

Instantly share code, notes, and snippets.

Sex,Age,Eye,Height
M,43,blue,190
M,31,brown,200
M,50,blue,175
M,58,blue,210
M,26,blue,181
M,22,brown,202
M,59,green,189
M,52,brown,198
M,26,green,203
x y WLrep repStart repEnd
-8896699.747454753 5410958.440336288 239.24 2018-01-01 2018-12-31
-8896149.82757918 5410478.859761498 234.05 2018-01-01 2018-12-31
-8896161.71568074 5410605.753081069 233.54 2018-01-01 2018-12-31
-8896170.039943034 5410616.250605382 235.76 2018-01-01 2018-12-31
-8910518.458039343 5414020.435039087 376.03 2018-01-01 2018-12-31
-8910766.696975792 5411219.210137916 371.67 2018-01-01 2018-12-31
-8910770.20284785 5411214.402301391 371.67 2018-01-01 2018-12-31
-8911252.31824768 5407175.309775752 349.17 2018-01-01 2018-12-31
-8910558.85109311 5414004.274201552 378.15 2018-01-01 2018-12-31
@gmerritt123
gmerritt123 / d3TriBokeh
Created February 16, 2023 01:28
d3 tricontour and bokeh
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 15 19:24:01 2023
Example demonstrating interoperability between d3 and bokeh for powerful CustomJS callbacks.
@author: Gaelen Merritt
"""
import numpy as np
from bokeh.plotting import figure
from bokeh.layouts import column
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 15 19:24:01 2023
Example showing how to use d3 to draw JS-side voronoi polygons on a bokeh plot
@author: Gaelen Merritt
"""
import numpy as np
from bokeh.plotting import figure
from bokeh.layouts import column