ENH: Add len() functionality to BarData.

This commit is contained in:
Thomas Wiecki committed 2013-12-03 16:29:17 -05:00
1 parent bbad5b386a
commit 5f4d8817e8
1 file changed
+3
+3
View File
@@ -181,3 +181,6 @@ class BarData(object):
def items(self):
return self._data.items()
def __len__(self):
return len(self._data.keys())