PlotPyStack / PythonQwt

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

Bug Fix #48

Closed rahmedov closed 4 years ago

rahmedov commented 6 years ago

In QwtPlotCanvas.updateStylesheetInfo()

replace self.data.styleSheet.hasBorder = not recorder.border.rectList.isEmpty() with self.data.styleSheet.hasBorder = len(recorder.border.rectList) > 0

and

if not recorder.border.rectList.isEmpty():

with if len(recorder.border.rectList) > 0: