module ipythonhelper.nbcanvas
¶
Short summary¶
module code_beatrix.ipythonhelper.nbcanvas
Drawing from a canvas
Functions¶
function |
truncated documentation |
---|---|
Adds a canvas to draw from a notebook, the code use javascript. |
Documentation¶
Drawing from a canvas
- code_beatrix.ipythonhelper.nbcanvas.display_canvas_point(html_id, width=800, heigth=400, var_name='points')¶
Adds a canvas to draw from a notebook, the code use javascript.
- Paramètres:
height – height
width – width
html_id – the function adds a div section, it should be different for every canevas
var_name – the function adds this variable to the kernel workspace
- Renvoie:
the list of points