Skip to content

Commit 51c1bca

Browse files
committed
Change parameter name
1 parent 990f1a1 commit 51c1bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example_multi_objective.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def on_generation(ga_instance):
5353
# Running the GA to optimize the parameters of the function.
5454
ga_instance.run()
5555

56-
ga_instance.plot_fitness(labels=['Obj 1', 'Obj 2'])
56+
ga_instance.plot_fitness(label=['Obj 1', 'Obj 2'])
5757

5858
# Returning the details of the best solution.
5959
solution, solution_fitness, solution_idx = ga_instance.best_solution(ga_instance.last_generation_fitness)

0 commit comments

Comments
 (0)