File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,10 @@ def __repr__(self):
260
260
:returns: readable version of the display list
261
261
:rtype: str
262
262
"""
263
- return ", " .join ([x .type for x in self .displaylist ])
263
+ return "Animate(" + ", " .join ([x .type for x in self .displaylist ]) + ")"
264
+
265
+ def __str__ (self ):
266
+ return f"Animate(len={ len (self .displaylist )} "
264
267
265
268
def artists (self ):
266
269
"""
@@ -628,7 +631,10 @@ def __repr__(self):
628
631
:returns: readable version of the display list
629
632
:rtype: str
630
633
"""
631
- return ", " .join ([x .type for x in self .displaylist ])
634
+ return "Animate2(" + ", " .join ([x .type for x in self .displaylist ]) + ")"
635
+
636
+ def __str__ (self ):
637
+ return f"Animate2(len={ len (self .displaylist )} "
632
638
633
639
def artists (self ):
634
640
"""
You can’t perform that action at this time.
0 commit comments