Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f433e2c + 12438e8 commit 29c7e28Copy full SHA for 29c7e28
1 file changed
lib/matplotlib/container.py
@@ -13,7 +13,8 @@ class Container(tuple):
13
"""
14
15
def __repr__(self):
16
- return "<Container object of %d artists>" % (len(self))
+ return ("<{} object of {} artists>"
17
+ .format(type(self).__name__, len(self)))
18
19
def __new__(cls, *kl, **kwargs):
20
return tuple.__new__(cls, kl[0])
0 commit comments