aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-11 23:21:59 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-11 23:21:59 -0500
commitc9b3fe3067f62e1639cda95b523f5963934ae310 (patch)
tree2e8e32e30263463043f3ae293ffa9453704376c4
parent8379ab10e21bf5bf12f2373c9f060f40ddbc319c (diff)
Changed svg to png for tex support in data.py
-rw-r--r--data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.py b/data.py
index f746d05..8dd9319 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)+'.svg')
+ plt.savefig(str(self.date)+'.png')
else:
plt.show()