Python Seaborn 数据可视化——更漂亮的统计图表
Matplotlib 基础功能强但默认样式简陋,Seaborn 在 Matplotlib 基础上封装了更漂亮的默认样式和更简洁的 API。
一、安装
pip install seaborn matplotlib pandas二、常用图表
import seaborn as sns
import matplotlib.pyplot as pltsns.set_theme(style"white…
2026/7/17 20:44:08