cyrraz / plothist

Visualize and compare data in a scalable way and a beautiful style.
https://plothist.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
14 stars 1 forks source link

======== plothist

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

|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| |Code style: black|

Advantages of the package: scalability, style and user-friendly way of managing variables and a stunning example gallery <https://plothist.readthedocs.io/en/latest/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 <https://boost-histogram.readthedocs.io/>_) 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 <https://plothist.readthedocs.io/en/latest/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 :target: https://badge.fury.io/py/plothist .. |Docs from main| image:: https://img.shields.io/badge/docs-main-blue.svg :target: https://plothist.readthedocs.io/en/main/ .. |Discussion| image:: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github :target: https://github.com/cyrraz/plothist/discussions .. |DOI| image:: https://zenodo.org/badge/647069945.svg :target: https://zenodo.org/doi/10.5281/zenodo.10995667 .. |Code style: black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black