from bokeh.plotting import figure from utils import save_bokeh import numpy as np data = np.load('data/s.npy') x, y = data[0], data[1] p = figure(title='s', plot_width=600, plot_height=500) p.xaxis.axis_label = 'x' p.yaxis.axis_label = 'y' p.circle(x, y, fill_alpha=0.2, size=10) save_bokeh('s', p)
from bokeh.plotting import figure from utils import save_bokeh import numpy as np data = np.load('data/slant_up.npy') x, y = data[0], data[1] p = figure(title='slant_up', plot_width=600, plot_height=500) p.xaxis.axis_label = 'x' p.yaxis.axis_label = 'y' p.circle(x, y, fill_alpha=0.2, size=10) save_bokeh('slant_up', p)
from bokeh.plotting import figure from utils import save_bokeh import numpy as np data = np.load('data/bullseye.npy') x, y = data[0], data[1] p = figure(title='bullseye', plot_width=600, plot_height=500) p.xaxis.axis_label = 'x' p.yaxis.axis_label = 'y' p.circle(x, y, fill_alpha=0.2, size=10) save_bokeh('bullseye', p)
from bokeh.plotting import figure from utils import save_bokeh import numpy as np data = np.load('data/x.npy') x, y = data[0], data[1] p = figure(title='x', plot_width=600, plot_height=500) p.xaxis.axis_label = 'x' p.yaxis.axis_label = 'y' p.circle(x, y, fill_alpha=0.2, size=10) save_bokeh('x', p)
from bokeh.plotting import figure from utils import save_bokeh import numpy as np data = np.load('data/circle.npy') x, y = data[0], data[1] p = figure(title = 'circle', plot_width=600, plot_height=500) p.xaxis.axis_label = 'x' p.yaxis.axis_label = 'y' p.circle(x, y, fill_alpha=0.2, size=10) save_bokeh('circle',p)
from bokeh.plotting import figure from utils import save_bokeh import numpy as np data = np.load('data/d.npy') x, y = data[0], data[1] p = figure(title = 'd', plot_width=600, plot_height=500) p.xaxis.axis_label = 'x' p.yaxis.axis_label = 'y' p.circle(x, y, fill_alpha=0.2, size=10) save_bokeh('d',p)