@@ -39,7 +39,7 @@ def __init__(self, model, clearscreen,colortriplet):
3939 # Create some data, and plot it using the embedded scene's engine
4040
4141 self .model = model
42- self .VisualizeMesh (model ,clearscreen ,colortriplet )
42+ self .plot = self . VisualizeMesh (model ,clearscreen ,colortriplet )
4343
4444 def VisualizeMesh (self , model , clearscreen , colortriplet ):
4545 if clearscreen == 1 :
@@ -124,7 +124,7 @@ def VisualizeDNE(self, edens, isrelative, absmin, absmax):
124124 lutmax = (emax - absmin )/ (absmax - absmin )
125125 else : lutmax = 1.0
126126
127- abslut = self .plot3 .module_manager .scalar_lut_manager .lut .table .to_array ()
127+ abslut = self .plot .module_manager .scalar_lut_manager .lut .table .to_array ()
128128 rellut = self .RelativeLut (abslut , lutmin , lutmax )
129129 self .plot3 = self .VisualizeScalars (eve , customlut = rellut , scale = 'log10' )
130130
@@ -470,7 +470,7 @@ def initUI(self, widgetlist):
470470 map (lambda x : self .vbox .addWidget (x ), widgetlist )
471471 self .setLayout (self .vbox )
472472 self .setCheckable (1 )
473- self .setStyleSheet ('QGroupBox::title {bottom: 1px; background-color: transparent}' )
473+ self .setStyleSheet ('QGroupBox::title {background-color: transparent}' )
474474
475475class DNEOptionsWindow (QtGui .QDialog ):
476476 def __init__ (self , parent = None ):
0 commit comments