浏览代码

rows instead of columns

tarfeef101 6 年之前
父节点
当前提交
37424e9c32
共有 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

@@ -274,7 +274,7 @@ def main():
             steps.append(prob_steps / 100.0)
             scores.append(prob_scores / 100.0)
             
-    figure, axes = plt.subplots(1, 3, True)
+    figure, axes = plt.subplots(3, 1, True)
             
     for i in range(0, 3):
         axes[i].plot(range(1, 11), solution_steps[i], label = "Steps to Solution")