Переглянути джерело

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()