Extreme Fill 2D Example


In [1]:
from extremefill2D.fextreme import init_sim, restart_sim
from extremefill2D.fextreme.plot import vega_plot_treant
import vega
from extremefill2D.fextreme.tools import get_by_uuid

In [2]:
treant = init_sim('scripts/params.json', 'data', tags=['debug'])

In [3]:
(treant, err) = restart_sim(treant, 10)

In [4]:
# NBVAL_IGNORE_OUTPUT
treant.uuid


Out[4]:
'bf4c79db-f0a6-411c-af1e-21b5ebf49004'

In [5]:
# from extremefill2D.fextreme.tools import get_by_uuid
# treant = get_by_uuid('8de55c11')

In [6]:
out = vega_plot_treant(treant)

In [7]:
type(out) is vega.Vega


Out[7]:
True

In [8]:
# NBVAL_IGNORE_OUTPUT
out