Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.5%) to scientific vocabulary
Keywords
Repository
Sankey diagram for matplotlib
Basic Info
- Host: GitHub
- Owner: harryhaller001
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://harryhaller001.github.io/matplotlib-sankey/
- Size: 1.52 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 4
Topics
Metadata Files
README.md
matplotlib-sankey
Documentation | PyPI | Github repository | Codecov
Sankey plot for matplotlib
Installation
Install with pip:
pip install matplotlib-sankey
Install from source:
bash
git clone https://github.com/harryhaller001/matplotlib-sankey
cd matplotlib-sankey
pip install .
Example
```python data = [ # (source index, target index, weight) [(0, 2, 20), (0, 1, 10), (3, 4, 15), (3, 2, 10), (5, 1, 5), (5, 2, 50)], [(2, 6, 40), (1, 6, 15), (2, 7, 40), (4, 6, 15)], [(7, 8, 5), (7, 9, 5), (7, 10, 20), (7, 11, 10), (6, 11, 55), (6, 8, 15)], ]
fig, ax = plt.subplots(figsize=(10, 5)) fig.tightlayout() sankey( data=data, cmap="tab20", annotatecolumns=True, ax=ax, spacing=0.03, ) ```

Development
```bash python3.10 -m virtualenv venv source venv/bin/activate
Install dev dependencies
make install ```
Owner
- Login: harryhaller001
- Kind: user
- Repositories: 2
- Profile: https://github.com/harryhaller001
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use matplotlib-sankey, please cite it as below."
authors:
- family-names: "Hellmig"
given-names: "Malte"
orcid: "https://orcid.org/0000-0002-6692-5618"
- family-names: "Krebs"
given-names: "Christian F."
orcid: "https://orcid.org/0000-0003-2739-5578"
title: "matplotlib-sankey"
version: 0.3.0
date-released: 2025-05-14
url: "https://github.com/harryhaller001/matplotlib-sankey"
identifiers:
- type: doi
value: 10.5281/zenodo.15420062
GitHub Events
Total
- Release event: 3
- Public event: 1
- Push event: 19
- Create event: 3
Last Year
- Release event: 3
- Public event: 1
- Push event: 19
- Create event: 3
Packages
- Total packages: 1
-
Total downloads:
- pypi 156 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
pypi.org: matplotlib-sankey
Sankey plot for matplotlib
- Homepage: https://github.com/harryhaller001/matplotlib-sankey
- Documentation: https://harryhaller001.github.io/matplotlib-sankey/
- License: MIT License
-
Latest release: 0.3.1
published 7 months ago