Show More
@@ -21,7 +21,7 b' from IPython.lib.pylabtools import figure_to_svg' | |||
|
21 | 21 | # Functions |
|
22 | 22 | #----------------------------------------------------------------------------- |
|
23 | 23 | |
|
24 |
def show(close= |
|
|
24 | def show(close=True): | |
|
25 | 25 | """Show all figures as SVG payloads sent to the IPython clients. |
|
26 | 26 | |
|
27 | 27 | Parameters |
@@ -57,8 +57,6 b' def flush_svg():' | |||
|
57 | 57 | prior code execution, there had been any calls to draw_if_interactive. |
|
58 | 58 | """ |
|
59 | 59 | if show._draw_called: |
|
60 | # Show is called with the default close=False here, otherwise, the | |
|
61 | # Figure will be closed and not available for future plotting. | |
|
62 | 60 | show() |
|
63 | 61 | show._draw_called = False |
|
64 | 62 |
General Comments 0
You need to be logged in to leave comments.
Login now