mikedewar/D3py — Issue #14: add a method to Figure that takes in new data
Author: mikedewar
Created: 2012-01-07 12:47:19+00:00
State: open

The new method should look like

data = DataFrame({'y' = [1,2,3], 'x' = [1,2,3]})
p = Figure(data)
p += Line(x='x', y='y')
p += DataFrame({'z' = [3,4,5], 'x' = [2,3,4]})
p += Line(x='x', y='z')

and the internal data frame should have merged the xs and added missing data for the ys and zs that don't have data points.