fix ScatterPlot render issues on PyQt6 6.1
This commit is contained in:
parent
e2b0a5ffae
commit
afe47def28
@ -120,7 +120,7 @@ def renderSymbol(symbol, size, pen, brush, device=None):
|
||||
penPxWidth = max(math.ceil(pen.widthF()), 1)
|
||||
if device is None:
|
||||
device = QtGui.QImage(int(size+penPxWidth), int(size+penPxWidth), QtGui.QImage.Format.Format_ARGB32)
|
||||
device.fill(0)
|
||||
device.fill(QtCore.Qt.GlobalColor.transparent)
|
||||
p = QtGui.QPainter(device)
|
||||
try:
|
||||
p.setRenderHint(p.RenderHint.Antialiasing)
|
||||
|
Loading…
Reference in New Issue
Block a user