pythonapiggplot2python-ggplot

Is there a Python API for R's ggplot2?


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 ?


Solution

  • 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.