From 16c4e2929f3a8da7b7d83c735e799ca60a66bb6c Mon Sep 17 00:00:00 2001
From: Luke Campagnola <>
Date: Mon, 18 Jun 2012 17:47:56 -0400
Subject: [PATCH] fix for ScatterPlotItem / pyside

---
 graphicsItems/ScatterPlotItem.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphicsItems/ScatterPlotItem.py b/graphicsItems/ScatterPlotItem.py
index e73653b7..53075090 100644
--- a/graphicsItems/ScatterPlotItem.py
+++ b/graphicsItems/ScatterPlotItem.py
@@ -36,7 +36,7 @@ for k, c in coords.items():
 def makeSymbolPixmap(size, pen, brush, symbol):
     ## Render a spot with the given parameters to a pixmap
     penPxWidth = max(np.ceil(pen.width()), 1)
-    image = QtGui.QImage(size+penPxWidth, size+penPxWidth, QtGui.QImage.Format_ARGB32_Premultiplied)
+    image = QtGui.QImage(int(size+penPxWidth), int(size+penPxWidth), QtGui.QImage.Format_ARGB32_Premultiplied)
     image.fill(0)
     p = QtGui.QPainter(image)
     p.setRenderHint(p.Antialiasing)
-- 
GitLab