|
@@ -291,7 +291,7 @@ def main():
|
|
|
axes[i][0].plot(range(1, 11), solution_steps[i], label = "Steps to Solution", color = 'b')
|
|
|
axes[i][0].set_xlabel("Problem Instance w/ " + str(i + 14) + " cities")
|
|
|
axes[i][0].set_ylabel("Steps Taken", color = 'b')
|
|
|
- axis_twin = axes[i].twinx()
|
|
|
+ axis_twin = axes[i][0].twinx()
|
|
|
axis_twin.plot(range(1, 11), solution_scores[i], label = "Solution Quality", color = 'r')
|
|
|
axis_twin.set_ylabel("Solution Quality", color = 'r')
|
|
|
#axes[i].legend()
|