8000 Change ret —> __ret in boilerplate.py · matplotlib/matplotlib@e7c0ab1 · GitHub
[go: up one dir, main page]

Skip to content

Commit e7c0ab1

Browse files
author
cclauss
authored
Change ret —> __ret in boilerplate.py
A more permanent fix to the undefined name issue.
1 parent 001839e commit e7c0ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/boilerplate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def boilerplate_gen():
149149
'pcolormesh': 'sci(__ret)',
150150
'hist2d': 'sci(__ret[-1])',
151151
'imshow': 'sci(__ret)',
152-
'spy': 'if isinstance(ret, cm.ScalarMappable): sci(__ret)',
152+
'spy': 'if isinstance(__ret, cm.ScalarMappable): sci(__ret)',
153153
'quiver': 'sci(__ret)',
154154
'specgram': 'sci(__ret[-1])',
155155
'streamplot': 'sci(__ret.lines)',

0 commit comments

Comments
 (0)
0