%matplotlib notebook along with the
imshow() function to generate interactive images. However, in this setup, the images remain blank until the code finishes executing. If my code generates large amount of images, such as 20 or 30 at once, after the execution is complete some of the images appear properly, while others are displayed as blank frames. Is there a solution to address this issue and ensure all the images are displayed correctly?