PlotPyStack / PythonQwt

Qt plotting widgets for Python (pure Python reimplementation of Qwt C++ library)
https://pypi.org/project/PythonQwt/
Other
87 stars 25 forks source link

Bug Fix #51

Closed rahmedov closed 4 years ago

rahmedov commented 6 years ago

In painter.py

import QRectF and use in QwtPainterClass.drawBackground()

use opt.rect = QRectF(rect).toAlignedRect() instead of opt.rect = rect.toAlignedRect()