Skip to content

Commit

Permalink
Add page len
Browse files Browse the repository at this point in the history
  • Loading branch information
647-coder committed Nov 17, 2017
1 parent ff3c26a commit 6e59eab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyecharts/custom/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ def _merge_dependencies(self):
dependencies.remove('echarts')
dependencies = ['echarts'] + list(dependencies)
return dependencies

def __len__(self):
return len(self.__charts)

0 comments on commit 6e59eab

Please sign in to comment.