##// END OF EJS Templates
on("destroy",...) -> once("destroy",...) so we don't keep a reference to it, preventing gc...
on("destroy",...) -> once("destroy",...) so we don't keep a reference to it, preventing gc Thanks to Sylvain Corlay for the suggestion.

File last commit:

r17101:945ec056
r18058:c7253b21
Show More
Clear Output.ipynb
45 lines | 750 B | text/plain | TextLexer
In [1]:
from IPython.display import clear_output
In [2]:
for i in range(10):
    clear_output()
    print(i)
9