aboutsummaryrefslogtreecommitdiff
path: root/py/boxplot.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/boxplot.py')
-rw-r--r--py/boxplot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/boxplot.py b/py/boxplot.py
index 7d2cf1e..be1c024 100644
--- a/py/boxplot.py
+++ b/py/boxplot.py
@@ -10,4 +10,4 @@ for trial in trials:
plt.boxplot(vecs, labels=names)
plt.title('Nearest Neighbor for Each Pit in Different Trials')
plt.ylabel('Distance to Nearest Neighbor (cm)')
-plt.show()
+plt.savefig('boxplot.png', bbox_inches='tight')