而不是默认的“盒装”轴(和刻度线,标签......)样式,我只想拥有右侧和顶部轴,即:
这应该很容易,但我在文档中找不到必要的选项。
import seaborn as sns penguins = sns.load_dataset("penguins") g=sns.pairplot(penguins) plt.show()
python matplotlib seaborn
matplotlib ×1
python ×1
seaborn ×1