Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.9%) to scientific vocabulary
Keywords
Repository
python version of raincloud
Basic Info
Statistics
- Stars: 294
- Watchers: 8
- Forks: 58
- Open Issues: 10
- Releases: 5
Topics
Metadata Files
README.md
PtitPrince
A Python implementation of the "Raincloud plot"! See: https://github.com/RainCloudPlots/RainCloudPlots
Installation
You can install it via pip:
pip install ptitprince
or via conda:
conda install -c conda-forge ptitprince
or by cloning this repository and running the following from the root of it:
python setup.py install
or directly from GitHub
pip install git+https://github.com/pog87/PtitPrince
Academic use
To cite Raincloud plots please use the following information:
Allen M, Poggiali D, Whitaker K et al. Raincloud plots: a multi-platform tool for robust data visualization [version 2; peer review: 2 approved]. Wellcome Open Res 2021, 4:63 (https://doi.org/10.12688/wellcomeopenres.15191.2)

History of this project
This is a Python version of the "Raincloud plot" (or "PetitPrince plot", depending on the orientation) from R (under ggplot2) to Python. The Raincloud plot is a variant of the violin plot written in R ggplot2 by Micah Allen. I found a tweet asking for a Python version of the Raincloud plot, and I agreed to give it a try. Alas, the Python version for ggplot2 (plotnine) does not allow to create new styles in a comfortable way. So I decided to write this package using the seaborn library as a foundation.
Then I replicated the plots from the original post by Micah Allen, in Jupyter Notebooks and transformed that code into a Python package.
Since then, the package has received some publicity, and is for example listed in "awesome-python-data-science".
Changelog
v.0.2.x
* PtitPrince now relies on seaborn 0.10 and numpy >= 1.13
* kwargs can be passed to the [cloud (default), boxplot, rain/stripplot, pointplot]
by preponing [cloud_, box_, rain_, point_] to the argument name.
* End of support for python2, now the support covers python>=3.6
Plans for the future:
- ~~ask seaborn mantainers to add this new plot type~~ (not gonna happen)
- ~~add a "move" option in seabon to control the positioning of each plot, as in ggplot2.~~ (either, added in ptitprince)
- ~~get RainCloud published~~ (done!)
- add logarithmic density estimate (LDE) to the options for the cloud
- add the repeated measure feature
Owner
- Name: davide poggiali
- Login: pog87
- Kind: user
- Location: padova IT
- Website: http://dpoggiali.altervista.org/
- Repositories: 18
- Profile: https://github.com/pog87
Italian PostDoc, Mathematician, PhD in Neuroscience. [MRI,CT,PET,SPECT]-neuroimager 🧠, pythonist 🐍, bike-faithful 🚲, guitarist 🎸.
GitHub Events
Total
- Issues event: 3
- Watch event: 28
- Issue comment event: 5
- Fork event: 7
Last Year
- Issues event: 3
- Watch event: 28
- Issue comment event: 5
- Fork event: 7
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| pog87 | p****7@e****t | 37 |
| davide poggiali | p****7@h****t | 35 |
| Stefan Appelhoff | s****f@m****g | 7 |
| Benjamin Saljooghi | b****i@g****m | 3 |
| Davide Pog | p****g@m****t | 1 |
| Yann Harel | y****9@g****m | 1 |
| Josh L. Espinoza | j****z@g****m | 1 |
| Arnav Garg | a****v@p****m | 1 |
| no_identd | 1****d | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 40
- Total pull requests: 14
- Average time to close issues: about 2 months
- Average time to close pull requests: 16 days
- Total issue authors: 37
- Total pull request authors: 11
- Average comments per issue: 2.38
- Average comments per pull request: 2.0
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 1
- Average time to close issues: 4 months
- Average time to close pull requests: about 8 hours
- Issue authors: 4
- Pull request authors: 1
- Average comments per issue: 0.5
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- PierreGtch (2)
- kgdunn (2)
- jolespin (2)
- lopezavila85 (1)
- sappelhoff (1)
- bpinsard (1)
- posttenebre (1)
- michaeldorner (1)
- imronade (1)
- fegarcia-bcam (1)
- i-am-yuvi (1)
- mtnouchi (1)
- arnavgarg1 (1)
- jediknightnapoleon (1)
- VascoSch92 (1)
Pull Request Authors
- sappelhoff (3)
- tongzhouxu (2)
- PierreGtch (2)
- BenMazin1 (2)
- hyruuk (1)
- no-identd (1)
- eneskemalergin (1)
- benjaminsaljooghi (1)
- kwagstyl (1)
- jolespin (1)
- arnavgarg1 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 2,016 last-month
- Total docker downloads: 60
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 48
(may contain duplicates) - Total versions: 10
- Total maintainers: 2
pypi.org: ptitprince
A Python implementation of Rainclouds, originally on R, ggplot2. Written on top of seaborn.
- Homepage: https://github.com/pog87/PtitPrince
- Documentation: https://ptitprince.readthedocs.io/
- License: MIT
-
Latest release: 0.2.7
published over 2 years ago
Rankings
Maintainers (2)
conda-forge.org: ptitprince
- Homepage: http://github.com/pog87/PtitPrince
- License: MIT
-
Latest release: 0.2.6
published over 3 years ago
Rankings
Dependencies
- matplotlib *
- numpy >=1.13
- pandas >=1.0
- scipy *
- seaborn ==0.11
- PyHamcrest >=1.9.0
- cython *
- matplotlib *
- numpy >=1.13
- scipy *
- seaborn >=0.11
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite