def METHOD_NAME(genList, **kwargs):
  numgens = len(genList)
  plotAll = kwargs['plotAll']
  if plotAll:
    for idx in genList:
      plotGen(genList, idx)
  else:
    lastGen = 0
    for i in genList:
      if genList[i]['Current Generation'] > lastGen:
        lastGen = genList[i]['Current Generation']
    plotGen(genList, lastGen)