错误提示
发生异常: RuntimeError
xelatex not found. Install it or change rcParams['pgf.texsystem'] to an available TeX implementation.

原始参数:
plt.rcParams.update({"pgf.texsystem": "xelatex","text.usetex": True,# use default xelatex
})
解决方法
可能是未安装xelatex导致。
sudo apt install texlive-xetex












](https://img-blog.csdnimg.cn/66d95c0e702b4ec8894c6e305d1a890d.png)





