I'm pretty good at Python and do most of my work in it nowadays, but if I need to make a data visualization, I still go to R just for ggplot2. Nothing currently in Python compares (not even the "ggplot2 port"), and it takes an order of magnitude longer to make a comparable viz.
Check plotnine, which is a decent reimplementation of ggplot2 in python: https://plotnine.readthedocs.io/en/latest/
Python Data Visualization 2018: Why So Many Libraries?
21–30 of 105 posts
Re: Python Data Visualization 2018: Why So Many Libraries?
#22Earlier quoted context omitted.
Check plotnine, which is a decent reimplementation of ggplot2 in python: https://plotnine.readthedocs.io/en/latest/
Plotnine is quite nice. Its api is very similar to R's ggplot so it gives you the same level of expressiveness and flexibility while being able to stay the Python ecosystem to use numpy, pandas, etc..
Re: Python Data Visualization 2018: Why So Many Libraries?
#23Re: Python Data Visualization 2018: Why So Many Libraries?
#24A friend of mine created a page to show code snippets and comparisons between a few of the plotting libraries available in Python (and R) -- http://pythonplot.com/
Re: Python Data Visualization 2018: Why So Many Libraries?
#25There's like 15 comments in this post and 10 different suggestions on what visualization library to use. That's not great.
Yup. A likely result is that if you pick one and spend the time to learn it and use it for a project, there's a non-trivial chance that the choice you make will be join the ever growing collection of library abandon-ware in the not too distant future. This is why my favorite Python visualization tools are not Python - I've been burned too many times by libraries coming and going, and I just don't have the time to spe…
Also, for many of the visualizations I've worked with I'm fine to use an older library that's reached a stable point of development. It feels like the whole conversation about whether to build your new project on the latest web framework, or use something old and established like Django or Rails. Boring, relatively stable software in any area is a pleasure to work with if you really want to focus on your real-world problem more than you want to focus on newer tech.
Re: Python Data Visualization 2018: Why So Many Libraries?
#26Re: Python Data Visualization 2018: Why So Many Libraries?
#27I'm pretty good at Python and do most of my work in it nowadays, but if I need to make a data visualization, I still go to R just for ggplot2. Nothing currently in Python compares (not even the "ggplot2 port"), and it takes an order of magnitude longer to make a comparable viz.
Check plotnine, which is a decent reimplementation of ggplot2 in python: https://plotnine.readthedocs.io/en/latest/
I'll give it a shot! :)
Re: Python Data Visualization 2018: Why So Many Libraries?
#28Re: Python Data Visualization 2018: Why So Many Libraries?
#29I'm pretty good at Python and do most of my work in it nowadays, but if I need to make a data visualization, I still go to R just for ggplot2. Nothing currently in Python compares (not even the "ggplot2 port"), and it takes an order of magnitude longer to make a comparable viz.
Re: Python Data Visualization 2018: Why So Many Libraries?
#30As a ROOT guru and occasional pythonist, I recommend PyROOT especially if you want to interactively explore what you're plotting.