(population, fitness=False)
Plot the population score distribution

   Example:
      >>> Interaction.plotPopScore(population)

   :param population: population object (:class:`GPopulation.GPopulation`)
   :param fitness: if True, the fitness score will be used, otherwise, the raw.
   :rtype: None
Plot the population score distribution
Plot the population score distribution
def plotPopScore(population, fitness=False):
   """ Plot the population score distribution

   Example:
      >>> Interaction.plotPopScore(population)

   :param population: population object (:class:`GPopulation.GPopulation`)
   :param fitness: if True, the fitness score will be used, otherwise, the raw.
   :rtype: None

   """
   score_list = getPopScores(population, fitness)
   pylab.plot(score_list, 'o')
   pylab.title("Plot of population score distribution")
   pylab.xlabel('Individual')
   pylab.ylabel('Score')
   pylab.grid(True)
   pylab.show()
def plotPopScore ( population , fitness = False ) : score_list = getPopScores ( population , fitness ) pylab . plot ( score_list , 'o' ) pylab . title ( "Plot of population score distribution" ) pylab . xlabel ( 'Individual' ) pylab . ylabel ( 'Score' ) pylab . grid ( True ) pylab . show ( )