plothist

Visualize and compare data in a scalable way and a beautiful style.

https://github.com/cyrraz/plothist

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 1 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 (12.8%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Visualize and compare data in a scalable way and a beautiful style.

Basic Info
Statistics
  • Stars: 20
  • Watchers: 1
  • Forks: 3
  • Open Issues: 5
  • Releases: 42
Created over 2 years ago · Last pushed 7 months ago
Metadata Files
Readme Contributing License Citation Authors

README.rst

========
plothist
========

**Visualize and compare data in a scalable way and a beautiful style.**

* Installation and documentation: `https://plothist.readthedocs.io/ `_
* Example gallery: `https://plothist.readthedocs.io/en/latest/example_gallery/ `_

|img1| |img2|

.. |img1| image:: https://raw.githubusercontent.com/cyrraz/plothist/main/docs/img/1d_comparison_advanced.svg
   :alt: Example
   :width: 320

.. |img2| image:: https://raw.githubusercontent.com/cyrraz/plothist/main/docs/img/model_examples_stacked.svg
   :alt: Example
   :width: 320


|GitHub Project| |PyPI version| |Docs from main| |Discussion| |DOI| |Linter|

|GitHub Actions Status: CI| |GitHub Actions Status: CD| |pre-commit.ci Status| |Code Coverage|

This package is a wrapper around `matplotlib `_.

**Advantages of the package**: scalability, style and user-friendly way of managing variables and a stunning `example gallery `_.

1. **First idea**: default style is already presentation-ready and/or publication-ready (with no effort).

2. **Second idea**: separate the histogram creation from its plotting. This allows to easily manage histogram objects (defined in the ``boost_histogram`` `package `_) and plot large amount of variables and data really fast.

3. **Third idea**: visualize a lot of variables easily with a variable manager. Really easy to modify the plotting information and make multiple plots of the same variable with different settings.

4. **Fourth idea**: detailed and user-friendly documentation including a marvelous `example gallery `_.



.. image:: https://raw.githubusercontent.com/cyrraz/plothist/main/docs/img/2d_hist_with_projections.svg
   :alt: 2D histogram with projections
   :width: 500
   :align: center



.. |GitHub Project| image:: https://img.shields.io/badge/GitHub--blue?style=social&logo=GitHub
   :target: https://github.com/cyrraz/plothist
.. |PyPI version| image:: https://badge.fury.io/py/plothist.svg?style=flat-square
   :target: https://badge.fury.io/py/plothist
.. |Docs from main| image:: https://img.shields.io/badge/docs-main-blue.svg?style=platic
   :target: https://plothist.readthedocs.io/en/main/
.. |Discussion| image:: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github?style=flat-square
   :target: https://github.com/cyrraz/plothist/discussions
.. |DOI| image:: https://zenodo.org/badge/647069945.svg?style=flat-square
   :target: https://zenodo.org/doi/10.5281/zenodo.10995667
.. |Linter| image:: https://img.shields.io/badge/Linter-Ruff-brightgreen?style=platic
   :target: https://github.com/charliermarsh/ruff
.. |GitHub Actions Status: CI| image:: https://github.com/cyrraz/plothist/actions/workflows/ci.yaml/badge.svg?style=flat-square
   :target: https://github.com/cyrraz/plothist/actions/workflows/ci.yaml?query=branch%3Amain
.. |GitHub Actions Status: CD| image:: https://github.com/cyrraz/plothist/actions/workflows/cd.yaml/badge.svg?style=flat-square
   :target: https://github.com/cyrraz/plothist/actions/workflows/cd.yaml?query=branch%3Amain
.. |pre-commit.ci Status| image:: https://results.pre-commit.ci/badge/github/cyrraz/plothist/main.svg?style=flat-square
   :target: https://results.pre-commit.ci/latest/github/cyrraz/plothist/main
.. |Code Coverage| image:: https://codecov.io/gh/cyrraz/plothist/branch/main/graph/badge.svg?style=flat-square
    :target: https://codecov.io/gh/cyrraz/plothist

Owner

  • Name: Cyrille Praz
  • Login: cyrraz
  • Kind: user
  • Location: Switzerland / Japan

PhD | Data Scientist | Experimental Physicist

Citation (CITATION.cff)

cff-version: 1.2.0
message: "Please cite the following works when using this software."
type: software
title: "plothist"
abstract: "Visualize and compare data in a scalable way and a beautiful style."
authors:
- family-names: "Praz"
  given-names: "Cyrille"
  orcid: "https://orcid.org/0000-0002-6154-885X"
- family-names: "Fillinger"
  given-names: "Tristan"
  affiliation: "High Energy Accelerator Research Organization (KEK), Tsukuba, Japan"
  orcid: "https://orcid.org/0000-0001-9795-7412"
doi: 10.5281/zenodo.10995667
repository-code: "https://github.com/cyrraz/plothist/"
url: " plothist.readthedocs.io/"
keywords:
  - python
  - histogram
  - plotting
  - visualization
  - matplotlib
license: "BSD-3-Clause"

GitHub Events

Total
  • Create event: 47
  • Issues event: 2
  • Release event: 5
  • Watch event: 6
  • Delete event: 38
  • Issue comment event: 18
  • Push event: 185
  • Pull request review comment event: 132
  • Pull request review event: 162
  • Pull request event: 81
  • Fork event: 1
Last Year
  • Create event: 47
  • Issues event: 2
  • Release event: 5
  • Watch event: 6
  • Delete event: 38
  • Issue comment event: 18
  • Push event: 185
  • Pull request review comment event: 132
  • Pull request review event: 162
  • Pull request event: 81
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 16
  • Total pull requests: 242
  • Average time to close issues: 2 months
  • Average time to close pull requests: 4 days
  • Total issue authors: 8
  • Total pull request authors: 7
  • Average comments per issue: 1.56
  • Average comments per pull request: 0.55
  • Merged pull requests: 221
  • Bot issues: 0
  • Bot pull requests: 9
Past Year
  • Issues: 1
  • Pull requests: 84
  • Average time to close issues: N/A
  • Average time to close pull requests: 6 days
  • Issue authors: 1
  • Pull request authors: 6
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.4
  • Merged pull requests: 72
  • Bot issues: 0
  • Bot pull requests: 9
Top Authors
Issue Authors
  • cyrraz (7)
  • 0ctagon (3)
  • jonas-eschle (1)
  • masterfelu (1)
  • miverone (1)
  • kratsg (1)
  • matthewfeickert (1)
Pull Request Authors
  • cyrraz (141)
  • 0ctagon (136)
  • pre-commit-ci[bot] (7)
  • APN-Pucky (2)
  • andrzejnovak (2)
  • dependabot[bot] (2)
  • miverone (1)
Top Labels
Issue Labels
enhancement (2) technical dept (2) good first issue (2) bug (1)
Pull Request Labels
documentation (17) enhancement (6) update (4) dependencies (2) github_actions (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 404 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 42
  • Total maintainers: 2
pypi.org: plothist

Plot histograms in a scalable way and a beautiful style.

  • Versions: 42
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 404 Last month
Rankings
Dependent packages count: 7.4%
Downloads: 17.3%
Stargazers count: 23.4%
Average: 25.2%
Forks count: 30.4%
Dependent repos count: 47.6%
Maintainers (2)
Last synced: 7 months ago

Dependencies

pyproject.toml pypi
  • boost-histogram ~=1.3.1
  • matplotlib >=3.0
  • numpy >=1.14.5
  • pandas >=1.3.5
  • pyyaml >=5.3.1
  • scikit-learn >=1.0.2