This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |