Skip to content

Releases: scikit-hep/hist

Version 2.5.1

21 Sep 21:34
3fc57c2
Compare
Choose a tag to compare
  • Support named stack indexing #325
  • Fix histoprint error with stacks #325
  • Better README

Version 2.5.0

21 Sep 17:12
88311d4
Compare
Choose a tag to compare
  • Stacks support axes, math operations, projection, setting items, and iter/dict construction. They also support histogram titles in legends. Added histoprint support for Stacks. #291 #315 #317 #318
  • Added name= and label= to histograms, include Hist arguments in QuickConstruct. #297
  • AxesTuple now supports bulk name setting, h.axes.name = ("a", "b", ...). #288
  • Added hist.new alias for hist.Hist.new. #296
  • Added "efficiency" uncertainty_type option for ratio_plot API. #266 #278

Smaller features or fixes:

  • Dropped Python 3.6 support. #194
  • Uses boost-histogram 1.2.x series, includes all features and fixes, and Python 3.10 support.
  • No longer require scipy or iminuit unless actually needed. #316
  • Improve and clarify treatment of confidence intervals in intervals submodule. #281
  • Use NumPy 1.21 for static typing. #285
  • Support running tests without plotting requirements. #321

Version 2.4.0

07 Jul 05:21
ded01a0
Compare
Choose a tag to compare
  • Support .stack(axis) and stacked histograms. #244 #257 #258
  • Support selection lists (experimental with boost-histogram 1.1.0). #255
  • Support full names for QuickConstruct, and support mistaken usage in constructor. #256
  • Add .sort(axis) for quickly sorting a categorical axis. #243

Smaller features or fixes:

  • Support nox for easier contributor setup. #228
  • Better name axis error. #232
  • Fix for issue plotting size 0 axes. #238
  • Fix issues with repr information missing. #241
  • Fix issues with wrong plot shortcut being triggered by Integer axes. #247
  • Warn and better error if overlapping keyword used as axis name. #250

Along with lots of smaller docs updates.

Version 2.3.0

12 Apr 20:23
Compare
Choose a tag to compare
  • Add plot_ratio to the public API, which allows for making ratio plots between the histogram and either another histogram or a callable. #161
  • Add .profile to compute a (N-1)D profile histogram. #160
  • Support plot1d / plot on Histograms with a categorical axis. #174
  • Add frequentist coverage interval support in the intervals module. #176
  • Allow plot_pull to take a more generic callable or a string as a fitting function. Introduce an option to perform a likelihood fit. Write fit parameters' values and uncertainties in the legend. #149
  • Add fit_fmt= to plot_pull to control display of fit params. #168
  • Support <prefix>_kw arguments for setting each axis in plotting. #193
  • Cleaner IPython completion for Python 3.7+. #179

Version 2.2.1

17 Mar 20:02
7efad07
Compare
Choose a tag to compare
  • Fix bug with plot_pull missing a sqrt. #150
  • Fix static typing with ellipses. #145
  • Require boost-histogram 1.0.1+, fixing typing related issues, allowing subclassing Hist without a family and including a important Mean/WeighedMean summing fix. #151

Version 2.2.0

09 Mar 23:56
3b4026b
Compare
Choose a tag to compare
  • Support boost-histogram 1.0. Better plain reprs. Full Static Typing. #137

  • Support data= when construction a histogram to copy in initial data. #142

  • Support Hist.from_columns, for simple conversion of DataFrames and similar structures #140

  • Support .plot_pie for quick pie plots #140

Version 2.1.1

04 Mar 03:08
b086c8c
Compare
Choose a tag to compare
  • Fix density (and density based previews)
    #134 <https://github.com/scikit-hep/hist/pull/134>_

Version 2.1.0

20 Feb 19:51
1f218cb
Compare
Choose a tag to compare

This version provides many new features from boost-histogram 0.12 and 0.13; see the changelog in boost-histogram for details.

  • Support shortcuts for setting storages by string or position #129

Updated dependencies:

  • boost-histogram 0.11.0 to 0.13.0.
    • Major new features, including PlottableProtocol
  • histoprint >=1.4 to >=1.6.
  • mplhep >=0.2.16 when [plot] given

Version 2.0.1

11 Oct 13:08
6098549
Compare
Choose a tag to compare

Hist version 2.0.1 comes out. The following fixes are applied:

  • Make sum of bins explicit in notebook representations. #106
  • Fixed plot2d_full incorrectly mirroring the y-axis. #105
  • Hist.plot_pull: more suitable bands in the pull bands 1sigma, 2 sigma, etc. #102
  • Fixed classichist's usage of get_terminal_size to support not running in a terminal #99

Version 2.0.0

28 Sep 22:20
bc83816
Compare
Choose a tag to compare

Final 2.0 release of Hist! Since beta 1, the following changes were made:

  • Based on boost-histogram 0.11; now supports two way conversion without metadata issues.
  • mplhep is now used for all plotting. Return types changed; fig dropped, new figures only created if needed.
  • QuickConstruct was rewritten, uses new.Reg(...).Double(); not as magical but clearer types and usage.
  • Plotting requirements are no longer required, use [plot] to request.

The following new features were added:

  • Jupyter HTML repr's were added.
  • flow=False shortcut added.
  • Static type checker support for dependent projects.

The following fixes were applied:

  • .fill was broken for WeighedMean storage.