def remove_zeros(mylist):
    myretlist = []
    for elem in mylist:
        if elem!=0:
            myretlist.append(elem)
    return myretlist
Creates a new list which is equal to the input list but without zeros.
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/tools/plotTools.py/remove_zeros