title: Why cannot python PIL show two images in one program
body: <p>Here is my code: </p>
  
  <pre><code>img = Image.open('data/img.jpg')
  lb = Image.open('data/label.png')
  img.show('img')
  img.close()
  lb.show('lb')
  lb.close()
  </code></pre>
  
  <p>After running this program, the first image is successfully showed, but the second image will not be shown unless I comment the code associated with the first image. What is the cause of this problem.</p>