add inline pylab plotting, display_photos()