绘制三角形 import matplotlib.pyplot as plt import numpy as np # 绘制三角形函数 def draw_tri(points, color='red', alpha=0.5): plt.scatter(points[: