From 5acd52c1ae49544ed7e8eb50806a3753dbd32f6a Mon Sep 17 00:00:00 2001 From: linarphy Date: Wed, 30 Aug 2023 13:50:21 +0200 Subject: [PATCH] Remove old visualization --- classes/science/plate.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/classes/science/plate.py b/classes/science/plate.py index 0c2f6e7..b32242f 100644 --- a/classes/science/plate.py +++ b/classes/science/plate.py @@ -177,25 +177,6 @@ class Plate: x = [ taken_point[1] for taken_point in taken_points ] y = [ taken_point[0] for taken_point in taken_points ] - """ - matrix = ones( compressed.shape ) - for taken_point in taken_points: - matrix[ taken_point[0] , taken_point[1] ] = 0 - import matplotlib.pyplot as plt - plt.plot( - [ point[1] ] , - [ point[0] ] , - linestyle = '' , - marker = 'x' , - markersize = 15 , - markeredgecolor = 'red', - markeredgewidth = 5 , - ) - plt.imshow( compressed , aspect = 'auto' ) - plt.imshow( matrix , aspect = 'auto' , alpha = 0.5 ) - plt.show() - """ - if len( x ) > 5 and len( y ) > 5: if max( x ) < x_half: if self.border.x.min < max( x ):