drop axis method in python

This commit is contained in:
Hans Dembinski
2017-03-27 22:45:45 +02:00
parent e3ed33cbe4
commit 31aad75893
2 changed files with 47 additions and 46 deletions

View File

@@ -402,9 +402,6 @@ void register_histogram() {
#endif
.def("__len__", &dynamic_histogram<>::dim)
.def("__getitem__", histogram_axis)
.def("axis", histogram_axis, ":param int i: index of the axis\n"
":returns: axis object for axis i",
(arg("self"), arg("i") = 0))
.def("fill", raw_function(histogram_fill),
"Pass a sequence of values with a length n is"
"\nequal to the dimensions of the histogram,"