[plot] resolve error in ubuntu 14.04 (matplotlib version 1.3.1)