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