Examples for the documentation

example with bokeh

from bokeh.plotting import figure, output_file, show

output_file("example_bokeh.html")

x = [1, 2, 3, 4, 5]
y = [6, 7, 6, 4, 5]

p = figure(title="example_bokeh", width=300, height=300)
p.line(x, y, line_width=2)
p.circle(x, y, size=10, fill_color="white")

show(p)

exemple with a formula

example with a running script

<<<

import numpy
print(numpy.array([[1, 0], [0, 1]]))

>>>

    [[1 0]
     [0 1]]