patchworklib
plotnine
Our great sponsors
patchworklib | plotnine | |
---|---|---|
5 | 36 | |
339 | 3,823 | |
- | - | |
6.9 | 9.6 | |
4 months ago | 4 days ago | |
Python | Python | |
GNU General Public License v3.0 only | 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.
patchworklib
-
Python packages to prepare publication-quality figures.
patchworklib: https://github.com/ponnhide/patchworklib
-
Patchworklib: A simple matplotlib based interface for preparing a multi-panel figure for publication
GitHub: https://github.com/ponnhide/patchworklib Example demonstration: https://colab.research.google.com/drive/1TVcH3IJy6geDXVJDfOKCPFPsP2GzjxHu?usp=sharing
-
Unpopular opinion: Matplotlib is a bad library
I think plotnine is one solution. It is implemented based on matplotlib, but it provides an almost complete ggplot syntax for matplotlib. The other solution is a next-generation seaborn interface. It is also `build on matplotlib and still in progress; however, the API would be really useful! And I have personally also developed a few libraries to solve the complex syntax of matplotlib. As an example, patchworkllib allows dynamic subplot layout on Jupyter-lab. Maybe the library can support handling matplotlib and seaborn plots.
-
Dynamic subplot layout on Jupyter-lab
I would like to introduce patchworklib, which allows dynamic subplot layout on Jupyter-lab/notebook.
-
Pathcworklib: A subplot manager for intuitive layout in matplotlib
patchworklib
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?
patchwork - The Composer of ggplots
seaborn - Statistical data visualization in Python
K3D-jupyter - K3D lets you create 3D plots backed by WebGL with high-level API (surfaces, isosurfaces, voxels, mesh, cloud points, vtk objects, volume renderer, colormaps, etc). The primary aim of K3D-jupyter is to be easy for use as stand alone package like matplotlib, but also to allow interoperation with existing libraries as VTK.
matplotlib - matplotlib: plotting with Python
pyCircos - python Circos
Altair - Declarative statistical visualization library for Python
siuba - Python library for using dplyr like syntax with pandas and SQL
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
PyQtGraph - Fast data visualization and GUI tools for scientific / engineering applications
ggplot - ggplot port for python
bokeh - Interactive Data Visualization in the browser, from Python
polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust