浏览代码

less header margin than before

tarfeef101 6 年之前
父节点
当前提交
2a375043c3
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 二进制
      a2/hill_climbing.pdf
  2. 3 3
      a2/tsp_local.py

二进制
a2/hill_climbing.pdf


+ 3 - 3
a2/tsp_local.py

@@ -301,7 +301,7 @@ def main():
             #axis_twin.legend()
 
         plt.tight_layout()
-        plt.subplots_adjust(top=0.85)
+        plt.subplots_adjust(top=0.92)
         pdf.savefig()
         plt.close()
         
@@ -314,7 +314,7 @@ def main():
             axes[i].set_ylabel("% of runs <= NEOS", color = 'b')
             
         plt.tight_layout()
-        plt.subplots_adjust(top=0.85)
+        plt.subplots_adjust(top=0.92)
         pdf.savefig()
         plt.close()
         
@@ -350,7 +350,7 @@ def main():
         axes[2].set_xticks([14, 15, 16])
             
         plt.tight_layout()
-        plt.subplots_adjust(top=0.85)
+        plt.subplots_adjust(top=0.92)
         pdf.savefig()
         plt.close()