In [25]:
from bokeh.plotting import *
from numpy import *
In [2]:
output_notebook()
In [3]:
x = linspace(0,2*pi, 101)
y = cos(x)
In [4]:
In [34]:
fig = figure(title="test", x_axis_label="X Axis", width=450)
fig.circle(x,y, fill_color=None)
fig.line(x,y)
fig2 = figure(title="test", x_axis_label="X Axis", width=450)
fig2.circle(x,y, fill_color=None)
fig2.line(x,y)
# text_x_pos = [.9*x[-1], .9*x[-1],.9*x[-1]]
# text_y_pos = (.5, .4, .3)
# fig.text(text_x_pos,text_y_pos,text=["test", "test2", "test3"])
grid = gridplot([[fig, fig2]])
show(grid)
In [33]:
gridplot?
In [ ]: