diff options
Diffstat (limited to 'silx/gui/plot3d/items/mesh.py')
-rw-r--r-- | silx/gui/plot3d/items/mesh.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/silx/gui/plot3d/items/mesh.py b/silx/gui/plot3d/items/mesh.py index 3577dbf..4e19939 100644 --- a/silx/gui/plot3d/items/mesh.py +++ b/silx/gui/plot3d/items/mesh.py @@ -1,7 +1,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2017-2019 European Synchrotron Radiation Facility +# Copyright (c) 2017-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 @@ -312,8 +312,7 @@ class ColormapMesh(_MeshBase, ColormapMixIn): copy=copy) self._setMesh(mesh) - # Store data range info - ColormapMixIn._setRangeFromData(self, self.getValueData(copy=False)) + self._setColormappedData(self.getValueData(copy=False), copy=False) def getData(self, copy=True): """Get the mesh geometry. |