|
@@ -502,7 +502,8 @@ class SubPlotWidget(pg.GraphicsLayoutWidget):
|
|
|
if type != self.plotType:
|
|
|
self._type_changed = True
|
|
|
self.plotType = type
|
|
|
- self.gradient_legend.image_changed()
|
|
|
+ if type not in [ERROR, NO_DATA]:
|
|
|
+ self.gradient_legend.image_changed()
|
|
|
|
|
|
|
|
|
class PlotWidget(kcgw.KCGWidgets):
|