diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-11 23:41:32 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-11 23:41:32 -0500 |
commit | 4f7009ebd7a5d849107687e4d990f927f23c11b7 (patch) | |
tree | ff5a64f5c1a93cfc77b586238a1c4e22ba785538 | |
parent | 7ceaf05695267783e1506bc3b8724177d28612af (diff) |
made bbox tight on figures
-rw-r--r-- | data.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |