Browse Source

hopefully title won't overlap iwth this

Tareef 6 years ago
parent
commit
a956fabb24
1 changed files with 3 additions and 0 deletions
  1. 3 0
      a2/tsp_local.py

+ 3 - 0
a2/tsp_local.py

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