[PY] Qwt 6.1 compatibility.