summaryrefslogtreecommitdiff
path: root/silx/gui/plot/ComplexImageView.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/gui/plot/ComplexImageView.py')
-rw-r--r--silx/gui/plot/ComplexImageView.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/silx/gui/plot/ComplexImageView.py b/silx/gui/plot/ComplexImageView.py
index cd891cc..dc6bf63 100644
--- a/silx/gui/plot/ComplexImageView.py
+++ b/silx/gui/plot/ComplexImageView.py
@@ -318,7 +318,7 @@ class ComplexImageView(qt.QWidget):
False to use provided data (do not modify!).
"""
if data is None:
- data = numpy.zeros((0, 0), dtype=numpy.complex)
+ data = numpy.zeros((0, 0), dtype=numpy.complex64)
previousData = self._plotImage.getComplexData(copy=False)