parameters: (self, create=True)
docstring: Creates LineSettingsWidget for postprocessor data. (protected)
docstring_summary: Creates LineSettingsWidget for postprocessor data. (protected)
docstring_tokens: Creates LineSettingsWidget for postprocessor data . ( protected )
function: def _initialize(self, create=True):
          """
          Creates LineSettingsWidget for postprocessor data. (protected)
          """
  
          # Enabled the widget
          self.NoDataMessage.setVisible(False)
          self.AxisVariable.setVisible(True)
          self.AxisVariableLabel.setVisible(True)
  
          if create:
              # Create a toggle control for each piece of data
              for var in self._data.variables():
                  style, color = next(self._cycle, ('-', [0, 0, 0]))
                  toggle = LineSettingsWidget(var, linestyle=style, color=color)
                  toggle.clicked.connect(self.plot)
                  self.MainLayout.addWidget(toggle)
                  self._toggles[var] = toggle
  
          # The widget is initialized after all the toggles have been added, so it is time to finish the setup
          self._initialized = True
          self.setup()
  
          # Emit the initialization signal
          self.initialized.emit()
function_tokens: def _initialize ( self , create = True ) : # Enabled the widget self . NoDataMessage . setVisible ( False ) self . AxisVariable . setVisible ( True ) self . AxisVariableLabel . setVisible ( True ) if create : # Create a toggle control for each piece of data for var in self . _data . variables ( ) : style , color = next ( self . _cycle , ( '-' , [ 0 , 0 , 0 ] ) ) toggle = LineSettingsWidget ( var , linestyle = style , color = color ) toggle . clicked . connect ( self . plot ) self . MainLayout . addWidget ( toggle ) self . _toggles [ var ] = toggle # The widget is initialized after all the toggles have been added, so it is time to finish the setup self . _initialized = True self . setup ( ) # Emit the initialization signal self . initialized . emit ( )