def draw_triangle(draw, boundaries, color):
    xsup = boundaries[0]
    ysup = boundaries[1]
    xinf = boundaries[2]
    yinf = boundaries[3]
    draw.polygon([(xsup,yinf),(xsup+0.5*(xsup-xinf),ysup),(xinf,yinf)], fill = color)
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/validation/bidimensional/validationTools.py/draw_triangle/swapped operands of `-`