小编Dav*_*mad的帖子

Matplotlib 提供的seaborn 样式自 3.6 起已弃用

Matplotlib 提供的seaborn 样式自3.6 起已弃用,因为它们不再对应于seaborn 提供的样式。但是,它们仍将以“seaborn-v0_8-<style>”形式提供。或者,直接使用seaborn API。

我已经尝试过这个:

# use seaborn style
plt.style.use("seaborn")
Run Code Online (Sandbox Code Playgroud)

但它已被弃用,我想在 Windows 中使用 cmd 时删除此警告

python matplotlib seaborn deprecation-warning

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

deprecation-warning ×1

matplotlib ×1

python ×1

seaborn ×1