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

Skip to content

Commit e5495b2

Browse files
committed
Fix variable name im -> image.
1 parent a70a835 commit e5495b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ def add_image(self, image):
14651465
"""
14661466
self._set_artist_props(image)
14671467
self.images.append(image)
1468-
im._remove_method = lambda h: self.images.remove(h)
1468+
image._remove_method = lambda h: self.images.remove(h)
14691469
return image
14701470

14711471
def add_line(self, line):

0 commit comments

Comments
 (0)