def generate_faded_red(alpha):
    """
    Creates a number of random colors
    """
    if 0 > alpha and alpha < 0.2:
        alpha = 0.2 # helps to visualize weak relationships

    r = int(alpha * 255.)
    g = 0.0
    b = 0.0
    return  "#%02x%02x%02x"%(r,g,b)
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/validation/bidimensional/validationTools.py/generate_faded_red/swapped operands of `>`