svg/charts/util.py
def float_range(start=0, stop=None, step=1):
	"""
	Much like the built-in function range, but accepts floats

	>>> tuple(float_range(0, 9, 1.5))
	(0.0, 1.5, 3.0, 4.5, 6.0, 7.5)
	"""
	start = float(start)
	while start < stop:
		yield start
		start += step
def float_range(start=0, stop=None, step=1):
	start = float(start)
	while start < stop:
		yield start
		start += step
def float_range ( start = 0 , stop = None , step = 1 ) : start = float ( start ) while start < stop : yield start start += step
Much like the built-in function range, but accepts floats

	>>> tuple(float_range(0, 9, 1.5))
	(0.0, 1.5, 3.0, 4.5, 6.0, 7.5)
Much like the built - in function range but accepts floats