Plot: bug fix in exception