Skip to content

Commit 58b9bc1

Browse files
Update VGA_plot.py
removed debug prints
1 parent 8d0e3a3 commit 58b9bc1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

VGA/VGA_plot.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ def add_data_ns(self,x,y,draw_line=True):
162162
self.ploty0=self.plot.y_origin-int((y*self.plot.y_range/(self.plot.max_y-self.plot.min_y)))
163163
self.plot.display.draw_pix(self.plotx0,self.ploty0,self.color)
164164
self.is_first_point=False
165-
print("first point")
166-
print("self.plotx0",self.plotx0)
167-
print("self.plot.x_origin",self.plot.x_origin)
168165
else:
169166
plotx=self.plot.x_origin+int((x*self.plot.x_range/(self.plot.max_x-self.plot.min_x)))
170167
ploty=self.plot.y_origin-int((y*self.plot.y_range/(self.plot.max_y-self.plot.min_y)))
@@ -201,4 +198,5 @@ def add_data_moy(self,x,y,num_samples=5):
201198
self.y_pixdata.append(ploty)
202199
self.y_data.pop(0)
203200
self.y_data.append(y)
204-
201+
202+

0 commit comments

Comments
 (0)