Changelog#
Version 2.6.3#
Version 2.6.2#
Version 2.6.1#
Version 2.6.0#
Using boost-histogram 1.3
Fix runtime dependency on matplotlib when not plotting #353
Fix
.plot
shortcut failure #368New nox sessions:
regenerate
andpylint
Update tests for latest matplotlib
Version 2.5.2#
Version 2.5.1#
Version 2.5.0#
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=
andlabel=
to histograms, include Hist arguments in QuickConstruct. #297AxesTuple now supports bulk name setting,
h.axes.name = ("a", "b", ...)
. #288Added
hist.new
alias forhist.Hist.new
. #296Added
"efficiency"
uncertainty_type
option forratio_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. #281Use NumPy 1.21 for static typing. #285
Support running tests without plotting requirements. #321
Version 2.4.0#
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#
Add
plot_ratio
to the public API, which allows for making ratio plots between the histogram and either another histogram or a callable. #161Add
.profile
to compute a (N-1)D profile histogram. #160Support plot1d / plot on Histograms with a categorical axis. #174
Add frequentist coverage interval support in the
intervals
module. #176Allow
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. #149Add
fit_fmt=
toplot_pull
to control display of fit params. #168Support
<prefix>_kw
arguments for setting each axis in plotting. #193Cleaner IPython completion for Python 3.7+. #179
Version 2.2.1#
Version 2.2.0#
Version 2.1.1#
Fix density (and density based previews) #134
Version 2.1.0#
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#
Version 2.0.0#
First release of Hist.