浏览代码

hopefully title won't overlap iwth this

Tareef 6 年之前
父节点
当前提交
a956fabb24
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      a2/tsp_local.py

+ 3 - 0
a2/tsp_local.py

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