def plot_running_average(my_list, ave_length):
    pyplot.plot([(ave_length/sum(my_list[x-ave_length:x])) if x >=ave_length else (sum(my_list[0:x])/x) for x in xrange(1,len(my_list))])
dataset/ETHPy150Open posborne/mlcollection/mlcollection/lib/matplotlib_util.py/plot_running_average/swapped operands of `/`