module jsscripts.nbsnap
¶
Short summary¶
module code_beatrix.jsscripts.nbsnap
Snap rendering in a notebook.
Classes¶
class |
truncated documentation |
---|---|
Render Snap using javascript, outputs only HTML. |
|
Renders Snap using javascript. |
Methods¶
method |
truncated documentation |
---|---|
|
initialize |
initialize |
|
|
Return a couple (HTML, JS). |
Return a couple (HTML, JS). |
Documentation¶
Snap rendering in a notebook.
- class code_beatrix.jsscripts.nbsnap.RenderSnap(width='1000', height='600', divid=None, filename=None)¶
Bases :
RenderSnapRaw
Render Snap using javascript, outputs only HTML.
initialize
- Paramètres:
width – (str) width
height – (str) height
divid – (str|None) id of the div
filename – (str|None) filename
- _repr_html_()¶
- class code_beatrix.jsscripts.nbsnap.RenderSnapRaw(width='1000', height='600', divid=None, filename=None)¶
Bases :
object
Renders Snap using javascript.
initialize
- Paramètres:
width – (str) width
height – (str) height
divid – (str|None) id of the div
filename – (str|None) filename
- __init__(width='1000', height='600', divid=None, filename=None)¶
initialize
- Paramètres:
width – (str) width
height – (str) height
divid – (str|None) id of the div
filename – (str|None) filename
- generate_html()¶
Return a couple (HTML, JS).