ggplot2
plotnine
ggplot2 | plotnine | |
---|---|---|
62 | 36 | |
6,328 | 3,828 | |
0.5% | - | |
9.4 | 9.6 | |
6 days ago | 6 days ago | |
R | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ggplot2
- ggplot2
- Ask HN: How do you build diagrams for the web?
-
Visualizing shapefiles in R with sf and ggplot2!
ggplot2
- Ask HN: What plotting tools should I invest in learning?
-
Relative frequency of letters in five-letter English words (Wordle aid) [OC]
I got the list of five-letter words from the words package in R, created the QWERTY keyboard grid with base R and tibble, and visualized the data with geom_tile in the ggplot2 package.
-
[OC] U.S. News & World Report Best Colleges: 2002 to 2023
Thanks, it's an interesting idea! I definitely could implement this with scale_fill_gradientn) in ggplot2.
-
Facts about Aaron Boone's Ejections as Manager
I used the ggplot2 package in R to create these figures.
-
Fueling Innovation and Collaborative Storytelling
This might not be at the top of your list, but science fiction often presents advanced data analysis and visualization technologies. Open source data analysis tools such as Python's Pandas and R's ggplot2 have revolutionized the field, making complex data manipulation and visualization accessible to all. In the science fiction novel The Martian, astronaut Mark Watney uses a variety of data analysis and visualization tools to survive on Mars. He uses Python's Pandas to clean and organize data, and he uses R's ggplot2 to create visualizations of his data. These tools allow him to make sense of the vast amounts of data and help him to make critical decisions about his survival.
-
[OC] Visualizing Financial Market Returns Across Many Asset Classes via Heatmaps
Sorry about the slow reply, but the auto-moderator seems to be deleting my comments (for some unknown reason). I will try once more: the geom_tile function in ggplot2.
-
[OC] Forbes List of Highest-Earning Musicians: 1987 to 2021
Visual cues are a much better idea, thanks! Unfortunately, I don't know how to do that in ggplot2, either (I created these figures in R).
plotnine
- FLaNK AI Weekly 18 March 2024
-
A look at the Mojo language for bioinformatics
To your last point, have you tried plotnine? It's meant to be ggplot2 for python.
https://github.com/has2k1/plotnine
-
Mastering Matplotlib: A Step-by-Step Tutorial for Beginners
plotnine - A grammar of graphics for Python based on ggplot2.
-
Top 10 growing data visualization libraries in Python in 2023
Github: https://github.com/has2k1/plotnine
-
Lets-Plot: An open-source plotting library by JetBrains
This seems quite similar to plotnine [0], which also provides a grammar of graphics interface for Python. That said, I love ggplot and I can't wait to use this in my research! I hope we can port/re-implement ggthemes, scientificplots [1], and other ggplot libraries for lets-plot.
0: https://plotnine.readthedocs.io/en/stable/
1: https://github.com/garrettj403/SciencePlots
- When would you use R instead of Python?
-
[P] Easily make complex plots using ChatGPT [open source]
There is [plotnine](https://plotnine.readthedocs.io/en/stable/) which tries to implement ggplot in Python.
-
Is R or Python an EASIER option for non-CS/SE grads?
You could use plotnine if you like the grammar of graphics concept: https://plotnine.readthedocs.io/en/stable/
-
Every modeler is supposed to be a great Python programmer
> Python doesn’t yet have anything remotely close to ggplot for rapidly making exploratory graphics, for example.
Plug for plotnine (https://plotnine.readthedocs.io/en/stable/). I don't know R but use ggplot indirectly through this library for exploratory data analysis, and comparing the experience to any other python plotting library, I understand why R folks are usually so sad to be using Python.
-
Why has nobody ported ggplot to Python?
They have, https://plotnine.readthedocs.io/en/stable/
What are some alternatives?
Altair - Declarative statistical visualization library for Python
seaborn - Statistical data visualization in Python
tmap - R package for thematic maps
matplotlib - matplotlib: plotting with Python
vega - A visualization grammar.
dplyr - dplyr: A grammar of data manipulation
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
worldfootballR - A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat and fotmob
ggplot - ggplot port for python
glue - Glue strings to data in R. Small, fast, dependency free interpreted string literals.
bokeh - Interactive Data Visualization in the browser, from Python