A minor issue
from IPython.core.display import clear_output import time class xxx: def __init__(self,color): self.color = color def _repr_html_(self): return '<span style="color:%s">woot</span>'%self.color for i in range(10): x = xxx(['red','green','blue'][(i%3)]) print 1,2,3 clear_output(stdout=False, stderr=False, other=True) display(x) time.sleep(2)
This produce a funny looking output like
1 2 3 1 2 3 1 . . .
Which the raw html is
then
While
print 1, print 2, print 3,
works just fine. It also works fine if I remove sleep function.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4