Examples


In [16]:
import networkx as nx
import pandas as pd
import json

import smash

Parallel Coordinates


In [18]:
df = pd.read_csv(smash.cars())
smash.parallel(df, width=800)


Horizon


In [20]:
df = pd.read_csv(smash.measured_real_power())
smash.horizon(df.ix[:,0:50], standalone=False, height=500, width=900)


Graphs


In [11]:
graph = json.loads(open(smash.example_network()).read())

g = nx.DiGraph()
g.add_edges_from([ (x['source'], x['target']) for x in graph])

In [22]:
smash.graph(g, size=5, font_size=10, height=500)



In [ ]: