Skip to content

Commit 75ccd57

Browse files
committed
Allow polar to be used interactively.
svn path=/trunk/matplotlib/; revision=3159
1 parent e5e1c6b commit 75ccd57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/pylab.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,9 @@ def polar(*args, **kwargs):
13441344
with format strings, as in plot.
13451345
"""
13461346
ax = gca(polar=True)
1347-
return ax.plot(*args, **kwargs)
1347+
ret = ax.plot(*args, **kwargs)
1348+
draw_if_interactive()
1349+
return ret
13481350

13491351
def over(func, *args, **kwargs):
13501352
"""

0 commit comments

Comments
 (0)