(self, title_sec, x, y, ga_engine)
Used internally to create a new display for VPython.

      :param title_sec: the title of the window
      :param x: the x position of the window
      :param y: the y position of the window
      :param ga_engine: the GA Engine

      :rtype: the window (the return of gdisplay call)
Used internally to create a new display for VPython.
Used internally to create a new display for VPython .
def makeDisplay(self, title_sec, x, y, ga_engine):
      """ Used internally to create a new display for VPython.

      :param title_sec: the title of the window
      :param x: the x position of the window
      :param y: the y position of the window
      :param ga_engine: the GA Engine

      :rtype: the window (the return of gdisplay call)
      """
      title = "Pyevolve v.%s - %s - id [%s]" % (__version__, title_sec, self.identify)
      if self.genmax:
         disp = self.vtkGraph.gdisplay(title=title, xtitle='Generation', ytitle=title_sec,
                                       xmax=ga_engine.getGenerations(), xmin=0., width=500,
                                       height=250, x=x, y=y)
      else:
         disp = self.vtkGraph.gdisplay(title=title, xtitle='Generation', ytitle=title_sec,
                                       xmin=0., width=500, height=250, x=x, y=y)
         return disp
def makeDisplay ( self , title_sec , x , y , ga_engine ) : title = "Pyevolve v.%s - %s - id [%s]" % ( __version__ , title_sec , self . identify ) if self . genmax : disp = self . vtkGraph . gdisplay ( title = title , xtitle = 'Generation' , ytitle = title_sec , xmax = ga_engine . getGenerations ( ) , xmin = 0. , width = 500 , height = 250 , x = x , y = y ) else : disp = self . vtkGraph . gdisplay ( title = title , xtitle = 'Generation' , ytitle = title_sec , xmin = 0. , width = 500 , height = 250 , x = x , y = y ) return disp