from
bokeh.io
import
output_file, show
from
bokeh.layouts
import
row
from
bokeh.plotting
import
figure
output_file(
"output.html"
)
x
=
list
(
range
(
11
))
y0
=
x
y1
=
[i
%
2
for
i
in
x]
y2
=
[i
%
10
for
i
in
x]
plot1
=
figure(plot_width
=
200
, plot_height
=
250
, background_fill_color
=
"#fafafa"
)
plot1.circle(x, y0, size
=
12
, color
=
"#53777a"
, alpha
=
0.8
)
plot2
=
figure(plot_width
=
200
, plot_height
=
250
, background_fill_color
=
"#fafafa"
)
plot2.triangle(x, y1, size
=
12
, color
=
"#c02942"
, alpha
=
0.8
)
plot3
=
figure(plot_width
=
200
, plot_height
=
250
, background_fill_color
=
"#fafafa"
)
plot3.square(x, y2, size
=
12
, color
=
"#d95b43"
, alpha
=
0.8
)
show(row(plot1, plot2, plot3))