当前位置:网站首页>【Seaborn】组合图表:PairPlot和JointPlot
【Seaborn】组合图表:PairPlot和JointPlot
2022-07-07 15:32:00 【AwesomeTang】
前言
- 上一章节有介绍
FacetGrid
、JointGrid
、PairGrid
,这三者都是axes-level
的方法,通过命名方式也可以看出来,FacetGrid
、JointGrid
、PairGrid
是创建的坐标系,然后需要自己去绑定数据。 - 但对于
JointGrid
和PairGrid
,其实还有对应的figure-level
的方法,可以直接完成图表的绘制。 - 如果我们需求比较复杂,我们可以通过
PairGrid
和JointGrid
完成更多定制化的需求,不然还是推荐使用PairPlot
和JointPlot
。
PairPlot
PairPlot
会自动根据数据集中的度量字段自动生成图表,而不需要我们依次去绑定数据;
默认对角线是使用直方图,两侧散点图;
# 主要代码
g = sns.pairplot(penguins)
边栏推荐
猜你喜欢
Arduino 控制的双足机器人
Pycharm IDE下载
掌握这套精编Android高级面试题解析,oppoAndroid面试题
Personal notes of graphics (4)
字节跳动Android面试,知识点总结+面试题解析
The latest interview experience of Android manufacturers in 2022, Android view+handler+binder
二叉搜索树(特性篇)
最新高频Android面试题目分享,带你一起探究Android事件分发机制
A tour of gRPC:03 - proto序列化/反序列化
Three. JS series (2): API structure diagram-2
随机推荐
dapp丨defi丨nft丨lp单双币流动性挖矿系统开发详细说明及源码
值得一看,面试考点与面试技巧
Laravel changed the session from file saving to database saving
typescript ts基础知识之tsconfig.json配置选项
AutoLISP series (1): function function 1
Binary search tree (basic operation)
LeetCode 1031. 两个非重叠子数组的最大和 每日一题
ByteDance Android gold, silver and four analysis, Android interview question app
最新Android高级面试题汇总,Android面试题及答案
AutoLISP series (3): function function 3
Laravel post shows an exception when submitting data
Inner monologue of accidental promotion
[C language] question set of X
最新高频Android面试题目分享,带你一起探究Android事件分发机制
Prometheus API deletes all data of a specified job
[designmode] template method pattern
Personal notes of graphics (1)
Personal notes of graphics (2)
ORACLE进阶(六)ORACLE expdp/impdp详解
Master this promotion path and share interview materials