Remove old visualization

This commit is contained in:
linarphy 2023-08-30 13:50:21 +02:00
parent 93d9a94c67
commit 5acd52c1ae
No known key found for this signature in database
GPG key ID: 3D4AAAC3AD16E79C

View file

@ -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 ):