Remove legacy doc strings

This commit is contained in:
Johannes Schönberger
2013-08-06 14:34:36 +02:00
parent 9f8e904b66
commit 01871c153d
-4
View File
@@ -114,14 +114,10 @@ class _RegionProperties(object):
@cached_property
def area(self):
"""Number of pixels of region."""
return self.moments[0, 0]
@cached_property
def bbox(self):
"""Bounding box `(min_row, min_col, max_row, max_col)`"""
return (self._slice[0].start, self._slice[1].start,
self._slice[0].stop, self._slice[1].stop)