Commit 3a00622b authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed the pdf size problem

parent b3e6b9c6
......@@ -218,11 +218,12 @@ class Escher_Pattern:
def save(self):
pp = PdfPages(self.filename)
self.fig.tight_layout()
self.fig.tight_layout(pad=0)
#plt.show()
self.fig.savefig(pp,format='pdf',bbox_inches='tight',pad_inches=0)
#self.fig.savefig(pp,format='pdf',pad_inches=0)
pp.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment