switching back to axis method

This commit is contained in:
Hans Dembinski
2017-06-04 18:17:42 +02:00
parent ab6b36762c
commit b71638f603
3 changed files with 50 additions and 50 deletions

View File

@@ -410,7 +410,7 @@ void register_histogram() {
.add_property("__array_interface__", &python::access::array_interface)
#endif
.def("__len__", &dynamic_histogram::dim)
.def("__getitem__", histogram_axis)
.def("axis", histogram_axis)
.def("fill", python::raw_function(histogram_fill),
"Pass a sequence of values with a length n is"
"\nequal to the dimensions of the histogram,"