summaryrefslogtreecommitdiff
path: root/silx/sx/_plot.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/sx/_plot.py')
-rw-r--r--silx/sx/_plot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/silx/sx/_plot.py b/silx/sx/_plot.py
index b0a5a41..5746492 100644
--- a/silx/sx/_plot.py
+++ b/silx/sx/_plot.py
@@ -1,7 +1,7 @@
# coding: utf-8
# /*##########################################################################
#
-# Copyright (c) 2016-2019 European Synchrotron Radiation Facility
+# Copyright (c) 2016-2020 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -371,7 +371,7 @@ def scatter(x=None, y=None, value=None, size=None,
assert len(x) == len(value)
else:
- value = numpy.ones(len(x), dtype=numpy.float) * value
+ value = numpy.ones(len(x), dtype=numpy.float64) * value
plt.setData(x, y, value)
item = plt.getScatterItem()