当前位置:网站首页>【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)
边栏推荐
- JS modularization
- QT 图片背景色像素处理法
- Three. JS series (1): API structure diagram-1
- 最新2022年Android大厂面试经验,安卓View+Handler+Binder
- Talk about the realization of authority control and transaction record function of SAP system
- Pisa-Proxy SQL 解析之 Lex & Yacc
- JS中null NaN undefined这三个值有什么区别
- 数据中台落地实施之法
- 编程模式-表驱动编程
- Localstorage and sessionstorage
猜你喜欢
随机推荐
Cesium(3):ThirdParty/zip. js
[designmode] flyweight pattern
模块六
three. JS create cool snow effect
第九届 蓝桥杯 决赛 交换次数
23. 合并K个升序链表-c语言
Sort out several important Android knowledge and advanced Android development interview questions
LeetCode 1981. 最小化目标值与所选元素的差 每日一题
Binary search tree (basic operation)
Talk about the realization of authority control and transaction record function of SAP system
打造All-in-One应用开发平台,轻流树立无代码行业标杆
LeetCode-SQL第一天
【DesignMode】模板方法模式(Template method pattern)
作为Android开发程序员,android高级面试
网关Gateway的介绍与使用
[designmode] proxy pattern
无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
Interface oriented programming
Record the migration process of a project
[Android -- data storage] use SQLite to store data








