问题:Mixing Qt major versions may not work as expected.
UserWarning: Matplotlib is using PySide6 which wraps 6.6.3 however an instantiated QApplication from PyQt5 which wraps 5.15.2 exists. Mixing Qt major versions may not work as expected.
解决:安装上PyPySide6
pip install -i https://mirrors.aliyun.com/pypi/simple PySide6