seaborn_seaborn 0 11刚刚发布,具有许多新功能

最新发布的seaborn 0.11版本带来了诸多改进和新功能,为数据可视化提供了更强大的工具。这次更新旨在提升用户体验,加强数据洞察力。
摘要由CSDN通过智能技术生成

seaborn

Seaborn is a high-level Python data visualization library built on Matplotlib. It makes it convenient to create many different informative statistical visualizations.

Seaborn是基于Matplotlib构建的高级Python数据可视化库。 它使创建许多不同的信息统计可视化变得很方便。

The new version (0.11.0) of Seaborn just released with new features and enhancements on the existing ones. In this post, we will cover most of the changes with sample visualizations.

Seaborn的新版本(0.11.0)刚刚发布,具有现有功能的新功能和增强功能。 在本文中,我们将通过示例可视化介绍大多数更改。

Three new functions have been introduced which are displot, histplot, and ecdfplot. These three functions can be used to visualize univariate or bivariate data distributions.

引入了三个新功能,分别是displothistplotecdfplot。 这三个函数可用于可视化单变量或双变量数据分布。

Note: In order to use the new features, you need to update to the new version which can be done with pip install seaborn==0.11.0 .

注意 :为了使用新功能,您需要更新到新版本,可以通过pip install seaborn==0.11.0来完成。

Let’s start with the distplot. It can be considered as the parent class of the other two. The distplot, using the kind parameter, provides access to histplot, ecdfplot, and kdeplot. Thus, it is a figure-level interface for different kinds of distribution plots.

让我们从distplot开始。 可以将其视为其他两个的父类。 使用kind参数的distplot提供对histplot,ecdfplot和kdeplot的访问。 因此,它是用于不同种类分布图的图形级界面。

Here is an example.

这是一个例子。

sns.displot(data=diabetes, x='Glucose', kind='hist', height=6, aspect=1.2)
Image for post
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值