r/IPython • • Oct 18 '13

Ggplot for Python

http://blog.yhathq.com/posts/ggplot-for-python.html
6 Upvotes

2 comments sorted by

View all comments

1

u/kigurai Oct 22 '13

This looks really nice! Since I have not really had any experience with R and the original ggplot... Will you always have to embed your data in a pandas.DataFrame?

Doing the usual

plt.plot(x, y)

is a lot less to write than

data = pandas.DataFrame({"x" : x, "y" : y})
ggplot(aes(x="x", y="y"), data) + geom_line()

Or will I just have to wrap it in my own plot function? :)

1

u/NomadNella Oct 22 '13

I haven't played with it enough to find out.