Example #1
0
 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
Example #2
0
 def createWidget(self, parent):
     from silx.gui.data.NXdataWidgets import ArrayImagePlot
     widget = ArrayImagePlot(parent)
     return widget
Example #3
0
 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