title: Python matplotlib - Image titles not displaying in loop
body: <p>I wish to display images in a loop with the image name as a title. Each image displays in the loop but the title does not. </p>
  
  <p>In the function below, the <code>img_list</code> contains lists with the following <code>[image, image_title]</code>.</p>
  
  <pre><code>def display_images(img_list, cmap='gray', cols = 2, fig_size = (10, 10) ):
      """
      Display images in img_list
      """
      i = 1  # for subplot
  
      num_images = len(img_list)
      num_rows = num_images / cols
  
      plt.figure(figsize=fig_size)       
  
      for image in img_list:
          image_file_name = image[1]
          plt.subplot(num_rows, cols, i)        
          plt.title = image_file_name
          plt.imshow(image[0], cmap=cmap)        
          i += 1     
  
      plt.show()
  </code></pre>
  
  <p>Thanks.</p>