napari / napari-console

A plugin that adds a console to napari
BSD 3-Clause "New" or "Revised" License
3 stars 12 forks source link

Blocking code output #13

Open brisvag opened 3 years ago

brisvag commented 3 years ago

"Blocking" code simply freezes the console. For example:

for i in range(3):
     sleep(1)
     print(i)

will freeze for 3 seconds, then print eveything at once. This is different from the expected behaviour and what happens in a normal ipython instance (each print happens 1 second from the previous).