mikedewar / d3py

a plottling library for python, based on D3
1.42k stars 202 forks source link

Addition of Vega syntax generation #68

Closed wrobstory closed 11 years ago

wrobstory commented 11 years ago

The major update is the addition of Vega syntax via incorporation of the Vincent project: https://github.com/wrobstory/vincent

None of the original API/syntax for building/showing figures has changed- you can still build figures from the ground up using d3py.geoms. Now you can also build them with vega syntax.

I also did some code commenting and PEP8 cleaning, started to build some more comprehensive tests (need a lot more work), and moved some of the methods in figure.py around so that the class logic flows better for the first-time reader.

mynameisfiber commented 11 years ago

Hey! This looks great... we've been talking about adding vega support for a while now. I'll start looking through the code and making comments soon, sorry to keep you waiting!

mikedewar commented 11 years ago

Hey all - sorry for the delay. I'm going to merge this one in and then we can work through the conflicts on John's request. From the looks of things, getting Vega into the mix makes a lot more sense than the javascript generation on our end. I'm excited!

mynameisfiber commented 11 years ago

wewt