def createWidget(self, parent): from silx.gui.data.NXdataWidgets import ArrayImagePlot widget = ArrayImagePlot(parent) widget.getPlot().setDefaultColormap(self.defaultColormap()) widget.getPlot().getColormapAction().setColorDialog( self.defaultColorDialog()) return widget
def createWidget(self, parent): from silx.gui.data.NXdataWidgets import ArrayImagePlot widget = ArrayImagePlot(parent) return widget
def createWidget(self, parent): from silx.gui.data.NXdataWidgets import ArrayImagePlot widget = ArrayImagePlot(parent) widget.getPlot().setDefaultColormap(self.defaultColormap()) widget.getPlot().getColormapAction().setColorDialog(self.defaultColorDialog()) return widget