generated from mwc/lab_scatter
Add print statement to debug scatterplot
This commit is contained in:
@@ -61,6 +61,7 @@ def draw_points(data, color, size):
|
|||||||
y = point[1]
|
y = point[1]
|
||||||
x_scaled = scale(x, xmin, xmax, ymin, ymax)
|
x_scaled = scale(x, xmin, xmax, ymin, ymax)
|
||||||
y_scaled = scale(y, 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)
|
draw_point(x_scaled, y_scaled, color, size)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user