We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 464f065 commit 58650cfCopy full SHA for 58650cf
1 file changed
spatialmath/base/animate.py
@@ -260,7 +260,10 @@ def __repr__(self):
260
:returns: readable version of the display list
261
:rtype: str
262
"""
263
- return ", ".join([x.type for x in self.displaylist])
+ return "Animate(" + ", ".join([x.type for x in self.displaylist]) + ")"
264
+
265
+ def __str__(self):
266
+ return f"Animate(len={len(self.displaylist)}"
267
268
def artists(self):
269
@@ -628,7 +631,10 @@ def __repr__(self):
628
631
629
632
630
633
634
+ return "Animate2(" + ", ".join([x.type for x in self.displaylist]) + ")"
635
636
637
+ return f"Animate2(len={len(self.displaylist)}"
638
639
640
0 commit comments