Skip to content

Instantly share code, notes, and snippets.

View rmazzine's full-sized avatar
🎯
Focusing

Raphael Mazzine, PhD rmazzine

🎯
Focusing
View GitHub Profile
@anthonydouc
anthonydouc / Radar.py
Last active November 23, 2020 20:29
Radar chart using bokeh
import numpy as np
from bokeh.plotting import figure, show, output_file
from bokeh.models import ColumnDataSource, LabelSet
num_vars = 9
theta = np.linspace(0, 2*np.pi, num_vars, endpoint=False)
# rotate theta such that the first axis is at the top
theta += np.pi/2