Refactoring
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
from turtle import *
|
||||
from math import floor, ceil, log
|
||||
import constants
|
||||
from helpers import flyto
|
||||
from movement import flyto
|
||||
from superturtle.movement import no_delay
|
||||
from generate_data import generate_data
|
||||
|
||||
@@ -107,7 +107,7 @@ def scale(value, domain_min, domain_max, range_min, range_max):
|
||||
return range_min + ratio * (range_max - range_min)
|
||||
|
||||
with no_delay():
|
||||
data = generate_data(50, 10, 500, 25, 100, 1000)
|
||||
data = generate_data(50, 10, 500, 5, 400, 1000)
|
||||
draw_scatterplot(data, size=5, color="blue")
|
||||
hideturtle()
|
||||
input()
|
||||
|
||||
Reference in New Issue
Block a user