Closed rahmedov closed 4 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:
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: