Plotting in R's ggplot2 vs Python's Matplotlib: Is it just me or is ggplot2 WAY smoother of an experience than Matplotlib?

This page summarizes the projects mentioned and recommended in the original post on /r/datascience

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. plotnine

    A Grammar of Graphics for Python

    Check out plotnine https://plotnine.readthedocs.io/en/stable/ It does a decent job at providing ggplot2 behaviors. There are rough edges but it’s still better than the other options in my opinion.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. PandasGUI

    A GUI for Pandas DataFrames

    I'll take this excuse to plug my open source project with a drag and drop UI for quickly making EDA graphs in Plotly https://github.com/adamerose/PandasGUI

  4. ggplot

    ggplot port for python

    I'd agree in that it's a well-specified language for defining graphics; it's not very good with rendering performance. There are packages which try to achieve similar goals in Python as well (ggplot / ggpy) and packages like Seaborn. Though, like you, I use R for lots of EDA. Hard to beat data.table and R graphics for speed and expressiveness. I prefer base graphics though; ggplot2 tends to render too slowly for any data sets I work with.

  5. seaborn

    Statistical data visualization in Python

    I'd agree in that it's a well-specified language for defining graphics; it's not very good with rendering performance. There are packages which try to achieve similar goals in Python as well (ggplot / ggpy) and packages like Seaborn. Though, like you, I use R for lots of EDA. Hard to beat data.table and R graphics for speed and expressiveness. I prefer base graphics though; ggplot2 tends to render too slowly for any data sets I work with.

  6. Altair

    Declarative visualization library for Python

    If I need to be in Python world though, I really like Altair, which is a Pythonic implementation of the Grammar of Graphics. It's better than ggplot2 clones for Python because it has a big developer behind it and is written in a way that naturally makes use of Python constructs, rather than trying to force R constructs in Python.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • GUI for a Dynamically Created Dataframe

    2 projects | /r/learnpython | 31 Jan 2023
  • Scientific Visualization: Python and Matplotlib, by Nicolas Rougier

    7 projects | news.ycombinator.com | 17 Sep 2024
  • Data Visualisation Basics

    3 projects | dev.to | 6 Sep 2024
  • Useful Python Libraries for AI/ML

    5 projects | dev.to | 10 Aug 2024
  • "No" is not an actionable error message

    1 project | news.ycombinator.com | 3 May 2024

Did you know that Python is
the 2nd most popular programming language
based on number of references?