Creating plot only of img_name is set
Merge pull request #1 from olest/master

Creating plot only if img_name is set