I'm trying to chart a plot of the best value evolution on a GA over time. I'm trying to use matplotlib to do it, and I'm using pyevolve for the GA. My problem is that when I call the evolve function, it evolves the algorithm till the end and I have no way of getting the best value in each interation. Any ideas?
Pyevolve already has a plotting tool, which uses the data dumped to a database using functionality built-in to pyevolve. Probably it fits your use case.
Otherwise, you could setup a step callback, in which you collect your own statistics for latter processing.