probmods / webppl-viz

Visualization for WebPPL
http://probmods.github.io/webppl-viz/
Other
14 stars 9 forks source link

viz.scatter: for data frame function signature, inference about key orderings can be brittle #62

Open longouyang opened 7 years ago

longouyang commented 7 years ago

this works:

viz.scatter([{b: 1, a: 2},
             {b: 3, a: 5}])

but this doesn't:

viz.scatter([{a: 1, b: 2},
             {b: 3, a: 5}])