def plot_results(src, res):
 figure()
 nbr_results = len(res)
 for i in range(nbr_results):
  imname = src.get_filename(res[i])
  subplot(1, nbr_results, (i + 1))
  imshow(array(Image.open(imname)))
  axis('off')
 show()

def plot_results ( src , res ) : figure ( ) nbr_results = len ( res ) for i in range ( nbr_results ) : imname = src . get_filename ( res [ i ] ) subplot ( 1 , nbr_results , ( i + 1 ) ) imshow ( array ( Image . open ( imname ) ) ) axis ( 'off' ) show ( )
show images in result list res .