瀏覽代碼

axes were cluttered, fixed

tarfeef101 6 年之前
父節點
當前提交
e7b7044dad
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 二進制
      a2/hill_climbing.pdf
  2. 1 1
      a2/tsp_local.py

二進制
a2/hill_climbing.pdf


+ 1 - 1
a2/tsp_local.py

@@ -293,7 +293,7 @@ def main():
         axes[i].set_ylabel("Steps Taken", color = 'b')
         axis_twin = axes[i].twinx()
         axis_twin.plot(range(1, 11), solution_scores[i], label = "Solution Quality", color = 'r')
-        axis_twin.set_ylabel("Solution Quality (dist / reference)", color = 'r')
+        axis_twin.set_ylabel("Solution Quality", color = 'r')
         #axes[i].legend()
         #axis_twin.legend()