micom.viz.core#

Core objects for visualization.

Module Contents#

Classes#

Visualization

A visualization object.

Attributes#

env

micom.viz.core.env[source]#
class micom.viz.core.Visualization(filename, data, template)[source]#

Bases: object

A visualization object.

filename#

The filename of trhe saved visualization.

Type

str

data#

The data used to create the Visualization.

Type

dict

template#

The jinja template used to render the visualization.

Type

jinja2.Template

view(self)[source]#

Open the visualization in a browser.

Parameters

None.

Return type

nothing

save(self, **kwargs)[source]#

Render and and save the visualization.