Fixed graphing functions and added optional config_id to graphing functions

This commit is contained in:
danielwilczak101
2020-11-21 15:32:01 -05:00
parent f3d4712097
commit 610b23dc3a
4 changed files with 48 additions and 28 deletions

View File

@ -40,7 +40,6 @@ class Matplotlib_Graph:
plt.ylabel('Generation Total Fitness')
plt.title('Relationship Between Generations and Generation Total Fitness')
def highest_value_chromosome(self):
"""Generation by Max value chromosome """
@ -84,6 +83,9 @@ class Matplotlib_Graph:
plt.ylabel('Lowest Fitness')
plt.title('Relationship Between Generations and Lowest Fitness')
def show(self):
"""Used to show the matplot lib graph."""
plt.show()
# Getter and setters
@property