出现以上报错:
in use raise OSError(
OSError: 'seaborn' is not a valid package style, path of style file, URL of style file, or library style name (library styles are listed in `style.available`)
修改方法:
plt.style.use('seaborn')变成
plt.style.use('seaborn-v0_8')。
即可。