from
bokeh.io
import
output_file, show
from
bokeh.layouts
import
column
from
bokeh.plotting
import
figure
output_file(
"GFG.html"
)
currentList
=
list
(
range
(
7
))
List1
=
currentList
List2
=
[i
%
2
for
i
in
currentList]
List3
=
[i
%
10
for
i
in
currentList]
f1
=
figure(plot_width
=
200
, plot_height
=
150
, background_fill_color
=
"#fc8803"
)
f1.circle(currentList, List1, size
=
12
, color
=
"#53777a"
, alpha
=
0.8
)
f2
=
figure(plot_width
=
200
, plot_height
=
150
, background_fill_color
=
"#fc8803"
)
f2.triangle(currentList, List2, size
=
12
, color
=
"#c02942"
, alpha
=
0.8
)
f3
=
figure(plot_width
=
200
, plot_height
=
150
, background_fill_color
=
"#fc8803"
)
f3.square(currentList, List3, size
=
12
, color
=
"#d95b43"
, alpha
=
0.8
)
show(column(f1, f2, f3))