diff --git a/scgv/views/clone.py b/scgv/views/clone.py index 0cb4307..226ebda 100644 --- a/scgv/views/clone.py +++ b/scgv/views/clone.py @@ -30,7 +30,7 @@ def _select_colormap_size(self, size): return ListedColormap(colors) def _select_colormap(self): - self.vmax = np.max(self.model.subclone) + self.vmax = max(np.max(self.model.clone), np.max(self.model.subclone)) size = int(self.vmax) self.cmap = self._select_colormap_size(size)