mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-14 11:15:09 +08:00
ENH: Add len() functionality to BarData.
This commit is contained in:
@@ -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