In [1]:
from extremefill2D.fextreme.tools import get_treant_df, get_by_tags, get_by_uuid, fcompose
import pandas
from extremefill2D.fextreme.plot import vega_plot_treant
from extremefill2D.fextreme import read_json
from toolz.curried import map, pipe
from pprint import pprint
from extremefill2D.fextreme.plot import vega_plot_treants
In [2]:
df = get_treant_df(['prelim3a'], path='../../data')
In [3]:
df_sort = df.sort(columns=['bulkSuppressor', 'appliedPotential'])
df_sort
Out[3]:
In [4]:
df_to_treants = fcompose(
lambda x: x.uuid,
map(get_by_uuid(path='../../data')),
list
)
In [5]:
out = vega_plot_treants(df_to_treants(df_sort))
out.display()