腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
python
'
AxesSubplot
‘
没有
属性
sns
、
import matplotlib.pyplot as pltimport seaborn as
sns
axs[0, 0].hist(data[0])axs[0, 1].
sns
.kdeplot但是,当我想要图形时 axs[0, 1].
sns
.kdeplot(data[0], data[1], c
浏览 19
提问于2019-02-06
得票数 0
回答已采纳
1
回答
不是用一个循环来显示所有的图解
、
、
sns
.set(style="darkgrid") plot =
sns
.countplot(x=y, data=azdias_under)
浏览 1
提问于2020-01-17
得票数 0
回答已采纳
1
回答
不同的函数返回不同的对象类型,例如FacetGrid和
AxesSubplot
。为什么和有什么不同?
、
、
、
我正在用
Python
制作图表。我注意到一些函数,如
sns
.lmplot()返回FacetGrid对象。另一方面,函数
sns
.countplot()返回Matplotlib的
AxesSubplot
对象。例如,我使用g.legend(loc='center')修改由
sns
.countplot()创建的
AxesSubplot
的图例。效果很好。但是,当我尝试使用由FacetGrid创建的
sns
.lmplot()时,我会得到错误'Legend‘对象是
浏览 2
提问于2021-06-17
得票数 0
回答已采纳
2
回答
如何调整海流分布图的大小
、
、
、
、
我尝试了几种方式,从在线教程和文档,但似乎
没有
真正的工作。我觉得这很令人困惑,因为它看起来不同的情节,如plt,
sns
有不同的功能,似乎不能互换工作……import seaborn as
sns
g =
sns
.distplot(df['data
浏览 1
提问于2020-03-06
得票数 0
回答已采纳
2
回答
如何在
Python
中显示
AxesSubplot
?
、
我有一个对象fig2,它是一个mathplotlib.axes.
axessubplot
类,但是当我尝试执行fig2.show()时,
python
显示
axessubplot
对象
没有
属性
show。如何显示
AxesSubplot
?
浏览 1
提问于2014-10-24
得票数 38
回答已采纳
2
回答
有一个类matplotlib.axes.
AxesSubplot
,但模块matplotlib.axes
没有
属性
AxesSubplot
、
matplotlib.pyplot as pltax = fig.add_subplot(111)给出输出然后是代码matplotlib.axes.
AxesSubplot
AttributeError: 'module' object hasno attribute '
AxesSubp
浏览 3
提问于2012-07-27
得票数 29
回答已采纳
1
回答
将多幅海运图保存到一个pdf文件中
、
、
、
、
因为我读到的所有杜库都
没有
多大帮助。 countplot_island =
sns
.countplot(y='island', data=penguins) # print(countplot_sex
浏览 12
提问于2020-10-09
得票数 1
回答已采纳
1
回答
如何在
python
中将所有解释变量的多散点图拉取到响应变量
、
、
、
、
如何在
python
中将所有解释变量的多散点图拉取到响应变量。无论我将squeeze设置为True还是False,生成的错误如下所示。TypeError:“
AxesSubplot
”对象不可订阅 f, axes = plt.subplots(6, 4, figsize=(20, 20), sharex=False, squeeze=False)
sns
.scatterplot(x=chef_num[col], y=chef_num['
浏览 9
提问于2020-03-16
得票数 0
回答已采纳
1
回答
如何更改seaborn.displot图形的字体大小?
、
、
、
我试图在seaborn.displot.中更改图形标题的字体大小f =
sns
.displot(df,x="yearOfRegistration", kde=True, binwidthRegistro")我的产出是: f =
sns
.displotfont_size = 20) f.set_axis_labels(
浏览 1
提问于2021-07-20
得票数 1
回答已采纳
10
回答
如何将Seaborn图保存到文件中
、
、
、
matplotlib.use('Agg')matplotlib.style.use('ggplot')df =
sns
.load_dataset('iris')fig =
sns</e
浏览 3
提问于2015-08-27
得票数 230
2
回答
Matplotlib子图问题
、
、
语法是正确的,但
没有
得到任何情节:为什么我不搞阴谋?_subplots.
AxesSubplot
at 0x22766aacc18‘
浏览 1
提问于2018-07-07
得票数 0
回答已采纳
1
回答
seaborn绘制空的白色平面
、
、
2016-11-010.042762 2017-01-010.083472 2017-03-01
sns
.tsplot
浏览 0
提问于2017-07-18
得票数 1
回答已采纳
1
回答
AxesSubplot
没有
属性
xticks
、
、
你好,我有这段使用
Python
的代码,它允许de一些绘图:import numpy as np fig = plt.figure()
浏览 9
提问于2019-07-14
得票数 0
1
回答
当一个子图是plt而另一个是
sns
时,我可以绘制一个多重图吗?
、
、
我收到错误消息:'
AxesSubplot
‘对象
没有
'
sns
’
属性
ax[0].set_xlabel('highway-mpg') ax[1].
sns
.resid
浏览 16
提问于2020-05-23
得票数 1
回答已采纳
2
回答
非分类数据框架到分类数据,用于海上绘制箱形图、条形图、条形图等
、
、
1.349062 5 0.944862 -0.657849 1.526811
sns
.boxplot0.283780 A 0.552564 B ... 0.944862 C 有
没有
一种我不知道的简单快捷的方法来做这件事
浏览 1
提问于2016-08-11
得票数 3
2
回答
在WxPython面板中嵌入海图
、
、
、
、
下面是我的代码中生成情节的特定部分,以备需要时使用:import numpy as np ax = fig.add_subplot(111)
sns
.kdeplot但是,如果我尝试ax.
sns
.kdeplot(...),我就会得到错误
属性
错误:
AxesSu
浏览 3
提问于2015-08-01
得票数 6
回答已采纳
1
回答
“
AxesSubplot
”对象
没有
属性
'_make_twin_axes‘“”
、
、
目前的软件版本: >>> import seaborn as
sns
>>> g =
sns
.pairplot(iris)----diag_ax.set_axis_off()
浏览 2
提问于2015-07-14
得票数 1
回答已采纳
2
回答
AttributeError:“
AxesSubplot
”对象
没有
“”hold“”
属性
“”
我更换了一台新计算机并安装了
Python
3.6和matplotlib,当我上个月在旧计算机上运行代码时,我得到了以下错误: ax.hold(True) AttributeError:'
AxesSubplot
‘对象
没有
'hold’
属性
。
浏览 0
提问于2018-12-28
得票数 4
5
回答
旋转海运标牌
、
、
我试图显示带有旋转x轴标签的图表,但图表
没有
显示。import seaborn as
sns
by_school=
sns
.barplot(x ='Organization Name_subplots.
AxesSubplot
at 0x3971a6a0> 这里发布了一个类似的问题:,但解决方案不起作用。
浏览 8
提问于2015-08-06
得票数 64
回答已采纳
2
回答
Barplot savefig()返回一个AttributeError
、
、
我正在将一个iPython笔记本转换为
python
脚本,只是尝试将两个Seaborn绘图的结果输出为png文件。代码:ax =
sns
.barplot(x=range(1,11), y=[ (x/nrows)*100 for x in addr_pop ], palette这一次,savefig()方法似乎根本不适用于绘图: AttributeError: '
AxesS
浏览 0
提问于2015-11-10
得票数 23
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python的实例属性和类属性
Python对象属性的那些事
Python属性的使用方法
Python动态绑定属性和方法
Python编程笔记(五)-动态属性
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券