micom.viz.core

Core objects for visualization.

Attributes

env

Classes

Visualization

A visualization object.

Module Contents

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

Bases: object

A visualization object.

filename[source]

The filename of trhe saved visualization.

Type:

str

data[source]

The data used to create the Visualization.

Type:

dict

template[source]

The jinja template used to render the visualization.

Type:

jinja2.Template

filename[source]
data[source]
template[source]
view()[source]

Open the visualization in a browser.

Parameters:

None.

Return type:

nothing

save(**kwargs)[source]

Render and and save the visualization.