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

Skip to content

Commit 007e4cb

Browse files
authored
Merge pull request #13943 from anntzer/figimagestr
Don't crash on str(figimage(...)).
2 parents 126882c + 014c02b commit 007e4cb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/matplotlib/image.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ def _rgb_to_rgba(A):
177177
class _ImageBase(martist.Artist, cm.ScalarMappable):
178178
zorder = 0
179179

180-
def __str__(self):
181-
return "AxesImage(%g,%g;%gx%g)" % tuple(self.axes.bbox.bounds)
182-
183180
def __init__(self, ax,
184181
cmap=None,
185182
norm=None,

0 commit comments

Comments
 (0)