Browse Source

removing unneeded legends

tarfeef101 6 years ago
parent
commit
bdd2527eb7
2 changed files with 2 additions and 2 deletions
  1. BIN
      a2/hill_climbing.pdf
  2. 2 2
      a2/tsp_local.py

BIN
a2/hill_climbing.pdf


+ 2 - 2
a2/tsp_local.py

@@ -284,8 +284,8 @@ def main():
         axis_twin = axes[i].twinx()
         axis_twin.plot(range(1, 11), solution_scores[i], label = "Solution Cost/Distance", color = 'r')
         axis_twin.set_ylabel("Distance in units", color = 'r')
-        axes[i].legend()
-        axis_twin.legend()
+        #axes[i].legend()
+        #axis_twin.legend()
 
     plt.savefig("hill_climbing.pdf")