def test_sum_empty_axis_hist(): h = Hist( axis.StrCategory("", growth=True), axis.Regular(10, 0, 1), storage=storage.Weight(), ) assert h.sum().value == 0 assert "Str" in repr(h) h._repr_html_()
def test_sum_empty_axis_hist(): h = Hist( axis.StrCategory("", growth=True), axis.Regular(10, 0, 1), storage=storage.Weight(), ) assert h.sum().value == 0 assert "Str" in repr(h) h._repr_html_()