コード例 #1
0
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)
コード例 #2
0
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)
コード例 #3
0
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)
コード例 #4
0
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)
コード例 #5
0
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)
コード例 #6
0
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)