Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Python API for R's ggplot2? [closed]

My question is as simple as the title: i want to use R's ggplot2 but all my data handling is done in Python: is there a Python API for ggplot2, or an easy way to use ggplot2 through Python ?

like image 966
ruben baetens Avatar asked Nov 10 '13 08:11

ruben baetens


2 Answers

RPy allows you to call R from Python and provides with data conversion utilities. You can use ggplot2 function with the Graphics package, look at this section for some examples.

like image 39
papirrin Avatar answered Sep 29 '22 13:09

papirrin


Check this out: https://github.com/yhat/ggplot

This is a python port of R's ggplot2.

like image 174
Randy Lai Avatar answered Sep 29 '22 12:09

Randy Lai