We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 990f1a1 commit 51c1bcaCopy full SHA for 51c1bca
examples/example_multi_objective.py
@@ -53,7 +53,7 @@ def on_generation(ga_instance):
53
# Running the GA to optimize the parameters of the function.
54
ga_instance.run()
55
56
-ga_instance.plot_fitness(labels=['Obj 1', 'Obj 2'])
+ga_instance.plot_fitness(label=['Obj 1', 'Obj 2'])
57
58
# Returning the details of the best solution.
59
solution, solution_fitness, solution_idx = ga_instance.best_solution(ga_instance.last_generation_fitness)
0 commit comments