Skip to content

Commit

Permalink
fix: support boost-histogram 1.4+
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Sep 11, 2023
1 parent d927496 commit d9fc1bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ keywords = [
]
requires-python = ">=3.7"
dependencies = [
"boost-histogram~=1.3.1",
"boost-histogram>=1.3.1,<1.5",
"histoprint>=2.2.0",
"numpy>=1.14.5",
'typing-extensions>=4;python_version<"3.11"',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_stacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
reg_hist = Hist(reg_ax).fill(np.random.randn(10))
boo_hist = Hist(boo_ax).fill([True, False, True])
var_hist = Hist(var_ax).fill(np.random.randn(10))
int_hist = Hist(int_ax).fill(np.random.randn(10))
int_hist = Hist(int_ax).fill(np.random.randint(-3, 3, size=10))
int_cat_hist = Hist(int_cat_ax).fill(np.random.randn(10))
str_cat_hist = Hist(str_cat_ax).fill(["T", "F", "T"])

Expand Down

0 comments on commit d9fc1bb

Please sign in to comment.