Creating plot only of img_name is set