How to draw a triangle using matplotlib.pyplot based on 3 dots (x,y) in 2D? How to draw a triangle using matplotlib.pyplot based on 3 dots (x,y) in 2D? python-3.x python-3.x