mtg API#

openalea.widgets.mtg.dict2html(args, properties=None)[source]#

Return a HTML element from a dictionary

openalea.widgets.mtg.patch_show(G, name='mtg.html')[source]#

Function to solve an error on windows about encoding

openalea.widgets.mtg.plot(g, properties=None, selection=None, hlayout=True, scale=None, labels=None, height='800px', width='900px', cdn_resources='in_line', **kwds)[source]#

Plot a MTG in the Jupyter Notebook

Download the source file ../../src/openalea/widgets/mtg.py.