File tree 2 files changed +6
-87
lines changed
2 files changed +6
-87
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ def %(func)s(%(argspec)s):
56
56
%(ax)s.hold(hold)
57
57
try:
58
58
%(ret)s = %(ax)s.%(func)s(%(call)s)
59
- draw_if_interactive()
60
59
finally:
61
60
%(ax)s.hold(%(washold)s)
62
61
%(mappable)s
@@ -69,7 +68,6 @@ def %(func)s(%(argspec)s):
69
68
@docstring.copy_dedent(Axes.%(func)s)
70
69
def %(func)s(%(argspec)s):
71
70
%(ret)s = gca().%(func)s(%(call)s)
72
- draw_if_interactive()
73
71
return %(ret)s
74
72
"""
75
73
@@ -85,7 +83,6 @@ def {name}():
85
83
86
84
if im is not None:
87
85
im.set_cmap(cm.{name})
88
- draw_if_interactive()
89
86
90
87
"""
91
88
@@ -274,7 +271,7 @@ def format_value(value):
274
271
275
272
# Since we can't avoid using some function names,
276
273
# bail out if they are used as argument names
277
- for reserved in ('gca' , 'gci' , 'draw_if_interactive' ):
274
+ for reserved in ('gca' , 'gci' ):
278
275
if reserved in bad :
279
276
msg = 'Axes method %s has kwarg named %s' % (func , reserved )
280
277
raise ValueError (msg )
You can’t perform that action at this time.
0 commit comments