mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-29 13:00:42 +08:00
ENH: Add len() functionality to BarData.
This commit is contained in:
1 parent
bbad5b386a
commit
5f4d8817e8
1 file changed
+3
@@ -181,3 +181,6 @@ class BarData(object):
|
||||
|
||||
def items(self):
|
||||
return self._data.items()
|
||||
|
||||
def __len__(self):
|
||||
return len(self._data.keys())
|
||||
Reference in new issue
Block a user