Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0786f0d

Browse files
committed
Merge pull request plotly#342 from plotly/fix-get-ordered
Accidentally didn’t call method on child.
2 parents 987749a + f12022d commit 0786f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/graph_objs/graph_objs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def get_data(self, flatten=False):
303303

304304
def get_ordered(self, **kwargs):
305305
"""All children are already validated. Just use get_ordered on them."""
306-
return [child.get_ordered for child in self]
306+
return [child.get_ordered() for child in self]
307307

308308
def to_string(self, level=0, indent=4, eol='\n',
309309
pretty=True, max_chars=80):

0 commit comments

Comments
 (0)