Skip to content

Commit 2a83def

Browse files
committed
docs: Changelog (and py2 fix)
1 parent b106002 commit 2a83def

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@
55

66
#### User changes
77

8-
* Arbitrary items can be set on an axis or histogram. [#450][]
8+
* Arbitrary items can be set on an axis or histogram. [#450][], [#456][]
9+
* Subclasses can customize the conversion procedure. [#456][]
910

1011
#### Bug fixes
1112

1213
* Fixed reading pickles from boost-histogram 0.6-0.8 [#445][]
1314
* Minor correctness fix [#446][]
1415
* Accidental install of typing on Python 3.5+ fixed
16+
* Scalar ND fill fixed [#453][]
1517

1618
#### Developer changes
1719
* Updated to Boost 1.74 [#442][]
1820
* CMake installs version.py now too [#449][]
1921
* Updated setuptools infrastructure no longer requires NumPy [#451][]
22+
* Some basic clang-tidy checks are now being run [#455][]
2023

2124

2225
[#442]: https://github.com/scikit-hep/boost-histogram/pull/442
@@ -25,6 +28,9 @@
2528
[#449]: https://github.com/scikit-hep/boost-histogram/pull/449
2629
[#450]: https://github.com/scikit-hep/boost-histogram/pull/450
2730
[#451]: https://github.com/scikit-hep/boost-histogram/pull/451
31+
[#453]: https://github.com/scikit-hep/boost-histogram/pull/453
32+
[#455]: https://github.com/scikit-hep/boost-histogram/pull/455
33+
[#456]: https://github.com/scikit-hep/boost-histogram/pull/456
2834

2935

3036
## Version 0.10

tests/test_minihist_title.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __getitem__(self, item):
3535
else:
3636
item = self._get_index_by_name(item)
3737

38-
return super().__getitem__(item)
38+
return super(NamedAxesTuple).__getitem__(item)
3939

4040
@property
4141
def name(self):
@@ -70,7 +70,7 @@ def __init__(
7070
self, bins, start, stop, name,
7171
):
7272

73-
super().__init__(
73+
super(Regular, self).__init__(
7474
bins, start, stop,
7575
)
7676

@@ -83,7 +83,7 @@ def _generate_axes_(self):
8383
return NamedAxesTuple(self._axis(i) for i in range(self.ndim))
8484

8585
def __init__(self, *args, **kwargs):
86-
super().__init__(*args, **kwargs)
86+
super(CustomHist, self).__init__(*args, **kwargs)
8787
valid_names = [ax.name for ax in self.axes if ax.name]
8888
if len(valid_names) != len(set(valid_names)):
8989
msg = "{} instance cannot contain axes with duplicated names".format(

0 commit comments

Comments
 (0)