aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.py b/data.py
index 8dd9319..e2d197e 100644
--- a/data.py
+++ b/data.py
@@ -46,7 +46,7 @@ class Trial:
plt.text(pit[0], pit[1], pit.disp(), ha='center', va='bottom', size='xx-small')
plt.xlabel('%s (dimension %dx%dcm)' % (str(self.date), self.size[0], self.size[1]))
if save:
- plt.savefig(str(self.date)+'.png')
+ plt.savefig(str(self.date)+'.png', bbox_inches='tight')
else:
plt.show()