generated from mwc/lab_scatter
Add print statement to debug scatterplot
This commit is contained in:
parent
9836b40408
commit
03eeda7ce9
|
@ -61,6 +61,7 @@ def draw_points(data, color, size):
|
|||
y = point[1]
|
||||
x_scaled = scale(x, xmin, xmax, ymin, ymax)
|
||||
y_scaled = scale(y, xmin, xmax, ymin, ymax)
|
||||
print(f"Printing point onto the screen at ({x_scaled}, {y_scaled})")
|
||||
draw_point(x_scaled, y_scaled, color, size)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue