1、 安装:主页:http://seaborn.pydata.org/
pip3 install seaborn,
官方建议:python 3.8+,三个依赖:numpy,pandas,matplotlib ; 三个补充:statsmodels,scipy,fastcluster
2、例子:testSeaborn.py
import seaborn as sns df = sns.load_dataset("penguins") sns.pairplot(df, hue="species") import matplotlib.pyplot as plt plt.show()
3、结果: