Replaced matplotlib with qwt