Recent Releases of plothist

plothist - Release v1.6.0

What's Changed

  • fix: asymmetrical uncertainty calculations are now displayed for bin with 0 entry. Can also change the behavior for these uncertainties (see documentation page). By @0ctagon in https://github.com/cyrraz/plothist/pull/223
  • chore: codecov.yml does not need to ignore scripts anymore, because make_examples.py was removed by @cyrraz in https://github.com/cyrraz/plothist/pull/222
  • fix: return tuples for color palettes by @0ctagon in https://github.com/cyrraz/plothist/pull/224
  • chore: update pre-commit hooks by @pre-commit-ci[bot] in https://github.com/cyrraz/plothist/pull/226
  • style: ignore less errors from the linter by @cyrraz in https://github.com/cyrraz/plothist/pull/225

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.5.0...v1.6.0

- Python
Published by 0ctagon 11 months ago

plothist - Release v1.5.0

What's Changed

  • Improvements in tests, documentation, code coverage, and code style, which should have no impact on the user.

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.4.0...v1.5.0

- Python
Published by cyrraz 11 months ago

plothist - Release v1.4.0

What's Changed

  • No more install_latex_fonts command, now fonts are automatically imported thanks to the plothist-utils package. By @0ctagon in https://github.com/cyrraz/plothist/pull/208
  • chore: switch to dynamic version by @cyrraz in https://github.com/cyrraz/plothist/pull/202
  • ci: add coverage workflow by @cyrraz in https://github.com/cyrraz/plothist/pull/203
  • ci: tune checks of code coverage by @cyrraz in https://github.com/cyrraz/plothist/pull/204
  • ci: configure pre-commit-config.yaml by @cyrraz in https://github.com/cyrraz/plothist/pull/195
  • style: add pre-commit hooks and apply style by @cyrraz in https://github.com/cyrraz/plothist/pull/196
  • style: add many linter rules and apply these rules by @cyrraz in https://github.com/cyrraz/plothist/pull/199
  • style: add new precommit hooks and update style accordingly by @cyrraz in https://github.com/cyrraz/plothist/pull/197
  • style: add importation of future annotations by @cyrraz in https://github.com/cyrraz/plothist/pull/205
  • docs: mention matplotlib in README by @cyrraz in https://github.com/cyrraz/plothist/pull/198
  • docs: define nox session to build doc and update builder by @cyrraz in https://github.com/cyrraz/plothist/pull/200
  • docs: remove trailing whitespace from the badges by @0ctagon in https://github.com/cyrraz/plothist/pull/207
  • docs: add copy button to doc by @0ctagon in https://github.com/cyrraz/plothist/pull/209

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.3.2...v1.4.0

- Python
Published by 0ctagon about 1 year ago

plothist - Release v1.3.2

What's Changed

  • refactor: importlib.resources usage to align with updated API by @cyrraz in https://github.com/cyrraz/plothist/pull/184
  • chore: switch to uv and hatchling by @cyrraz in https://github.com/cyrraz/plothist/pull/188
  • ci: switch to uv recommendation by @cyrraz in https://github.com/cyrraz/plothist/pull/189
  • CI: add PR linter and pre-commit-ci by @cyrraz in https://github.com/cyrraz/plothist/pull/190
  • fix: documentation + adv examples logic fix by @0ctagon in https://github.com/cyrraz/plothist/pull/192
  • chore: add noxfile.py and CONTRIBUTING.md by @cyrraz in https://github.com/cyrraz/plothist/pull/191
  • chore: version 1.3.1 by @cyrraz in https://github.com/cyrraz/plothist/pull/193

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.3.0...v1.3.2

- Python
Published by 0ctagon about 1 year ago

plothist - Release v1.3.0

What's Changed

  • Require python >=3.9
  • Documentation: add sphinx.ext.viewcode by @APN-Pucky in https://github.com/cyrraz/plothist/pull/178
  • Increase boost-histogram dependency limit by @0ctagon in https://github.com/cyrraz/plothist/pull/179
  • Documentation and development: fix version comparison when making examples, update precommit hooks and figures by @cyrraz in https://github.com/cyrraz/plothist/pull/180

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.2.6...v1.3.0

- Python
Published by cyrraz over 1 year ago

plothist - Release v1.2.6

What's Changed

  • Replace the use of wget and unzip with python tools by @0ctagon in https://github.com/cyrraz/plothist/pull/176

- Python
Published by cyrraz almost 2 years ago

plothist - Release v1.2.5

What's Changed

  • Documentation improvement by @cyrraz and @0ctagon in https://github.com/cyrraz/plothist/pull/163, https://github.com/cyrraz/plothist/pull/165, https://github.com/cyrraz/plothist/pull/166, https://github.com/cyrraz/plothist/pull/170, https://github.com/cyrraz/plothist/pull/171
  • Bugfix font installation by @cyrraz in https://github.com/cyrraz/plothist/pull/169
  • Update to 1.2.5 by @cyrraz in https://github.com/cyrraz/plothist/pull/172

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.2.4...v1.2.5

- Python
Published by 0ctagon almost 2 years ago

plothist - Release v1.2.4

New functionalities

  • Add plotonly option in plotdatamodelcomparison by @0ctagon in https://github.com/cyrraz/plothist/pull/155
  • New position option for add_text() by @0ctagon in https://github.com/cyrraz/plothist/pull/154

Minor changes

  • Added side-by-side categorical hist plotting example by @0ctagon in https://github.com/cyrraz/plothist/pull/153 and https://github.com/cyrraz/plothist/pull/156
  • Add requirements for readthedoc to build by @0ctagon in https://github.com/cyrraz/plothist/pull/152
  • Updated font installation documentation by @0ctagon in https://github.com/cyrraz/plothist/pull/158
  • Minor text changes by @cyrraz in https://github.com/cyrraz/plothist/pull/159
  • Created function chapter in doc by @0ctagon in https://github.com/cyrraz/plothist/pull/160
  • Create CITATION.cff by @cyrraz in https://github.com/cyrraz/plothist/pull/162

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.2.3...v1.2.4

- Python
Published by cyrraz about 2 years ago

plothist - Release v1.2.3

Minor change

  • plothist now has a DOI:10.5281/zenodo.10995667
  • Update README.rst by @cyrraz in https://github.com/cyrraz/plothist/pull/151

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.2.2...v1.2.3

- Python
Published by cyrraz about 2 years ago

plothist - Release v1.2.2

Minor changes

  • Added variable registry pytests by @0ctagon in https://github.com/cyrraz/plothist/pull/145
  • Added pre-commit to the github workflow by @0ctagon in https://github.com/cyrraz/plothist/pull/146
  • Lambda and doc fix by @0ctagon in https://github.com/cyrraz/plothist/pull/147
  • Update issue template by @cyrraz in https://github.com/cyrraz/plothist/pull/144 and https://github.com/cyrraz/plothist/pull/149

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.2.1...v1.2.2

- Python
Published by cyrraz about 2 years ago

plothist - Release v1.2.1

What's Changed

  • Fonts bugfix by @0ctagon in https://github.com/cyrraz/plothist/pull/141

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.2.0...v1.2.1

- Python
Published by 0ctagon about 2 years ago

plothist - Release v1.2.0

Major changes

  • Turn off under/overflow bin by default, making the upper edge inclusive instead of exclusive by @0ctagon and @cyrraz in https://github.com/cyrraz/plothist/pull/138
  • Add example showing how to plot categorical data by @cyrraz in https://github.com/cyrraz/plothist/pull/140

Minor changes

  • Doc improvement by @0ctagon in https://github.com/cyrraz/plothist/pull/137 and https://github.com/cyrraz/plothist/pull/139

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.1.2...v1.2.0

- Python
Published by 0ctagon about 2 years ago

plothist - v1.1.2

Documentation improvements

  • Added example of a profile plot by @cyrraz in https://github.com/cyrraz/plothist/pull/134
  • Added a note on add_luminosity by @0ctagon in https://github.com/cyrraz/plothist/pull/131

Internal code fixes

  • Added checks to verify that histograms are counting histograms by @cyrraz in https://github.com/cyrraz/plothist/pull/134
  • Added fix if certificate not found for font website by @0ctagon in https://github.com/cyrraz/plothist/pull/130

Testing

  • pytest of comparison functions by @0ctagon in https://github.com/cyrraz/plothist/pull/133
  • pytest to recreate the examples in the doc by @0ctagon in https://github.com/cyrraz/plothist/pull/132

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.1.1...v1.1.2

- Python
Published by cyrraz over 2 years ago

plothist - v1.1.1

What's Changed

  • move plothist/ into src/ file by @cyrraz in https://github.com/cyrraz/plothist/pull/129

Note

If you have an installation of plothist using flit, you have to do git pull flit install --symlink in the plothist package folder to update your version of plothist.

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.1...v1.1.1

- Python
Published by 0ctagon over 2 years ago

plothist - Release v1.1

Major changes

  • Drop ratio_uncertainty_type argument and replace it with split_ratio comparison argument by @cyrraz in https://github.com/cyrraz/plothist/pull/124
  • Support efficiency computation by @cyrraz in https://github.com/cyrraz/plothist/pull/115
  • Documentation improvement by @cyrraz and @0ctagon in https://github.com/cyrraz/plothist/pull/115 and https://github.com/cyrraz/plothist/pull/126

Minor changes

  • Update readme by @cyrraz in https://github.com/cyrraz/plothist/pull/121
  • Add precommit hooks and run them by @cyrraz in https://github.com/cyrraz/plothist/pull/120 and https://github.com/cyrraz/plothist/pull/122
  • Added test for font installation by @0ctagon in https://github.com/cyrraz/plothist/pull/123

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.0.6...v1.1

- Python
Published by 0ctagon over 2 years ago

plothist - v1.0.6

Major changes

  • Add workflow for testing by @cyrraz in https://github.com/cyrraz/plothist/pull/108
  • Drop dependency on pandas by @cyrraz in https://github.com/cyrraz/plothist/pull/116
  • Bugfix font installation script by @0ctagon in https://github.com/cyrraz/plothist/pull/117

Minor changes

  • Refactor plotreorderedlegend function to include optional legend location by @0ctagon in https://github.com/cyrraz/plothist/pull/110
  • Time variable in italic in add_luminosity by @0ctagon in https://github.com/cyrraz/plothist/pull/111
  • Documentation improvement by @cyrraz and @0ctagon in https://github.com/cyrraz/plothist/pull/109, https://github.com/cyrraz/plothist/pull/112, https://github.com/cyrraz/plothist/pull/113

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.0.5...v1.0.6

- Python
Published by 0ctagon over 2 years ago

plothist - Release v1.0.5

What's Changed

  • add warning message about exclusive upper edge of bins by @cyrraz in https://github.com/cyrraz/plothist/pull/107

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.0.4...v1.0.5

- Python
Published by cyrraz over 2 years ago

plothist - Release v1.0.4

What's Changed

  • Fix bug in update_variable_registry_ranges() by @0ctagon in https://github.com/cyrraz/plothist/pull/102
  • Better handling of empty data in makehist() and createaxis() by @cyrraz in https://github.com/cyrraz/plothist/pull/105
  • Various documentation improvement by @cyrraz and @0ctagon in https://github.com/cyrraz/plothist/pull/100/, https://github.com/cyrraz/plothist/pull/101/, https://github.com/cyrraz/plothist/pull/103/

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.0.3...v1.0.4

- Python
Published by 0ctagon over 2 years ago

plothist - Release v1.0.3

What's Changed

  • Fix bug in update_variable_registry_ranges() by @0ctagon in https://github.com/cyrraz/plothist/pull/99
  • Documentation fixes and improvements by @0ctagon and @cyrraz in https://github.com/cyrraz/plothist/pull/100 and https://github.com/cyrraz/plothist/pull/96

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.0.2...v1.0.3

- Python
Published by 0ctagon over 2 years ago

plothist - Release v1.0.2

What's Changed

  • Fix minor histogram uncertainty bug by @0ctagon in https://github.com/cyrraz/plothist/pull/93
  • Allow for non-square figure size when doing 2D plot with projections by @0ctagon in https://github.com/cyrraz/plothist/pull/94
  • Add 2D example with discrete colormap by @0ctagon in https://github.com/cyrraz/plothist/pull/92
  • Documentation fixes and improvements by @cyrraz in https://github.com/cyrraz/plothist/pull/95

Full Changelog: https://github.com/cyrraz/plothist/compare/v1.0.1...v1.0.2

- Python
Published by cyrraz over 2 years ago

plothist - Release v1.0.1

  • Add README to PyPI
  • Documentation on how to convert fit PDFs from RooFit and zfit be used by plothist.

- Python
Published by 0ctagon over 2 years ago

plothist - Release v1.0

✨ Release 1.0 is here ✨

Major interface and documentation improvement. A gallery with all the plots and scripts used to create them is now available.

Major changes * Define plot_model() and plot_data_model_comparison() as more general versions of plot_mc() and compare_data_mc(). The models can be made of multiple stacked and unstacked components, which can be histograms or functions. * Change the name and default values of many function arguments to improve readability (see documentation and gallery) * Remove plot_mc() and compare_data_mc(). * compare_two_hist() is now plot_two_hist_comparison() * Define plot_function() to plot single or multiple functions, stacked or unstacked. * Documentation reworking * 🖼️ Gallery with all the plots and scripts used to create them * More examples and better categories * Remove jargon * Updated variable registry, can now add/delete/update parameters easily

Minor changes * New comparison: asymmetry * Drop save_as functionality * 2d hist flattening now in an external function * Drop small style * New utility function to reorder legend entries * Drop scikit-learn dependency * Upgraded boost-histogram to last version v1.4.0

- Python
Published by 0ctagon over 2 years ago

plothist - Release v0.9

Additional low-level functions, utility functions and code cleanup and logic improvements:

  • More specialised functions for histogram comparison and uncertainty propagation,
  • Asymmetrical uncertainty support for unweighted histograms,
    • Added small documentation,
  • savefig() and automatic ylabel size scaling utility functions,
  • Better documentation for HEP.

- Python
Published by 0ctagon over 2 years ago

plothist - Release v0.8.1

  • Uncertainty calculation bug in two corner cases fixed
  • Better doc for HEP, showing all comparison methods

- Python
Published by cyrraz over 2 years ago

plothist - Release v0.8

  • New feature: allow to plot 2D histograms with x and y projections
  • New feature: install fonts with a command line: install_latin_modern_fonts
  • Minor fixes

- Python
Published by cyrraz over 2 years ago

plothist - Release v0.7.2

Minor changes:

  • Added relative_difference as a comparison method,
  • New add_text function,
  • Small documentation upgrade.

- Python
Published by 0ctagon over 2 years ago

plothist - Release v0.7.1

Bug fix: check if the fig is rendered for the automatic ylabel resizing.

- Python
Published by 0ctagon over 2 years ago

plothist - Release v0.7

The color update

  • New function to easily access default color palette, cubehelix or matplotlib palettes
  • Automatic re-scaling of the ylabel if too long
  • Doc updated with new examples, font installation and color palette descriptions

- Python
Published by 0ctagon over 2 years ago

plothist - Release v0.6

New feature: plot difference Minor fixes

- Python
Published by 0ctagon almost 3 years ago

plothist - Release v0.5.8

Minor change:

  • Larger default figsize for comparison plots.
  • MC statistical uncertainty label fixed.

- Python
Published by 0ctagon almost 3 years ago

plothist - Release v0.5.7

Minor change: * Make data-mc comparison figure larger to accomodate for long ylabel.

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.5.6

Minor improvements for HEP plotters.

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.5.5

Allow the user to ignore MC uncertainties for compare_data_mc() for postfit histograms. Align ylabels for comparison plots.

- Python
Published by 0ctagon almost 3 years ago

plothist - Release v0.5.4

New default fonts and documentation on how to install them.

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.5.3

New default font

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.5.2

Small style fix and use Gaussian uncertainties if data is un-weighted

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.5.1

Remove Modern Latin Roman from font list to make the style less system-dependent.

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.5

Bug fixes and proper treatment of data Poisson uncertainties.

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.4

Single default style and minor fixes

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.3

Add option to plot pulls when comparing histograms and internal reorganization of the code.

- Python
Published by cyrraz almost 3 years ago

plothist - Release v0.2

Basic functionalities, presentation and publication styles.

- Python
Published by cyrraz about 3 years ago

plothist - Release v0.1

Core functionalities and documentation

- Python
Published by 0ctagon about 3 years ago