Skip to content

Commit

Permalink
Attribute error.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Nov 14, 2023
1 parent 684cb1b commit 9567918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyMca5/PyMcaGraph/backends/MatplotlibBackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ def addCurve(self, x, y, legend=None, info=None, replace=False, replot=True,
scatterPlot = True
if scatterPlot:
# scatter plot
if color.dtype not in [numpy.float32, numpy.float]:
if color.dtype not in [numpy.float32, numpy.float64]:
actualColor = color / 255.
else:
actualColor = color
Expand Down

0 comments on commit 9567918

Please sign in to comment.