python的ggplot
ggplot的Python项目详细描述
这是什么?
ggplot是图形语法的python实现。它是 不打算成为的功能端口的功能 `ggplot2 for R<;https://github.com/hadley/ggplot2>;``尽管有 在ggplot2中是伟大的,python世界可以忍受 从中受益。因此将有功能重叠,但不是 必要的模仿(毕竟r有点奇怪)。
你可以这样做:
ggplot(diamonds,aes(x='price',color='clarity'))+ \ geom_density()+ \ scale_color_brewer(type='div',palette=7)+ \ facet_wrap('cut')
安装
$ pip install -U ggplot # or $ conda install -c conda-forge ggplot # or pip install git+https://github.com/yhat/ggplot.git
示例
榜样是最好的学习方法。有一本笔记本,里面全是 他们。还有一些笔记本可以显示如何做特定的事情 使用ggplot(即make a scatter plot或make a histogram)。
旧版本不起作用怎么了?
它不见了——窗户,门, everything。只是 开玩笑,you can find it here,尽管我不是 当然你想看的原因。数据分组与操作 比特被重新写入(所以它们实际上是工作的)像facet这样的东西 记住。
贡献
感谢所有的情节 contributors!见 `contribution.md<;/contribution.md>;`\uu。