aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-26 15:39:43 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-26 15:39:43 -0500
commit60a4e21cb5974be92a6179d8be48c9c4abdd20dd (patch)
tree60c08e189f6fb0b5d36d85033af896bb9bed3cb1
parent5df41ebc0ef1a065004f7becfb07b37a5d036837 (diff)
removed dp/wd text from voronoi
-rw-r--r--data.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/data.py b/data.py
index 7f5967d..d3ec25f 100644
--- a/data.py
+++ b/data.py
@@ -42,8 +42,6 @@ class Trial:
def plot(self, save=False):
vor = Voronoi([pit.loc for pit in self.pits])
voronoi_plot_2d(vor)
- for pit in self.pits:
- plt.text(pit[0], pit[1], pit.disp(), ha='center', va='bottom', size='small')
plt.xlabel('%s (dimension %dx%dcm)' % (str(self.date), self.size[0], self.size[1]))
if save:
plt.savefig(str(self.date)+'.png', bbox_inches='tight')