python matplotlob中在三维坐标系内给定三个点的坐标,画一个三角形

如题,给定三个点的坐标(三维的)如何在matplotlib中画一个以这三个点为顶点的三角形?
是三维坐标系,不是平面坐标系

import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d.art3d import Poly3DCollection

plt.figure('空间三角形',figsize=(12,5))
x1=np.array([10, 2, 5])
y1=np.array([6, 5, 8])
z1=np.array([2, 4, 6])

t3=plt.subplot(121,projection='3d')
t3.scatter(x1,y1,z1)
t3.set_xlabel('X')
t3.set_ylabel('Y')
t3.set_zlabel('Z')

points = [list(zip(x1, y1, z1))]
triangle = Poly3DCollection(points, alpha=0.25, facecolor='red')

plt.gca().add_collection3d(triangle)
plt.show()