This is my code. It does save my images to my folder but it also displays the last image on my jupyter notebook every time I run. I know it\'s because of "imshow" but