micom.viz.core

Core objects for visualization.

Attributes

Classes

Visualization

A visualization object.

Module Contents

micom.viz.core.logger[source]
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()[source]

Open the visualization in a browser.

Parameters:

None.

Return type:

nothing

save(**kwargs)[source]

Render and and save the visualization.