I\'ve got a simulation model running in Python using NumPy and SciPy and it produces a 2D NumPy array as the output each iteration. I\'ve been displaying this output as an image
Using pyformulas 0.2.8 you can use pf.screen to create a non-blocking screen:
import pyformulas as pf
import numpy as np
canvas = np.floor(np.random.normal(scale=50, size=(480,640,3)) % 256).astype(np.uint8)
screen = pf.screen(canvas)
while screen.exists():
canvas = np.floor(np.random.normal(scale=50, size=(480,640,3)) % 256).astype(np.uint8)
screen.update(canvas)
#screen.close()
Disclaimer: I am the maintainer for pyformulas