Removed range_via_num_steps, which was redundant on top of np.linspace

This commit is contained in:
Sridhar Ramesh
2018-02-15 15:35:37 -08:00
parent bdc11cac51
commit 5c0bbbc4be

View File

@ -689,10 +689,6 @@ class DictAsObject(object):
def fdiv(a, b):
return np.true_divide(a,b)
def range_via_num_steps(start, end, num_steps, include_end = True):
num_points = num_steps + (1 if include_end else 0)
return [interpolate(start, end, fdiv(i, num_steps)) for i in range(num_points)]
# For debugging purposes
def print_mobject_family(mob, n_tabs = 0):