腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
子
图
AttributeError
:'
AxesSubplot
‘
对象
没有
属性
'
get_extent
’
、
、
、
出现的错误是:"subplot
AttributeError
:'
AxesSubplot
‘object has no attribute '
get_extent
'“ 我试图以多种方式绕过这个问题,但
没有
成功
浏览 441
提问于2018-08-01
得票数 3
1
回答
在python中动画化一个
子
图
、
、
、
我试图创建动画3个
子
图
,显示不同的y轴w.r.t时间(x轴)。请参考下面的代码。
AttributeError
:'
AxesSubplot
‘
对象
没有
属性
'canvas'
浏览 5
提问于2020-05-16
得票数 0
4
回答
用于显示一个图形的Python
子
图
、
、
、
当我使用
子
图
,并试图使用下面的
子
图
只绘制一个图形时,它会出现错误: for i, ax in enumerate(ax.flat):如何解决这个问题,如果我想任意设置<e
浏览 1
提问于2019-03-22
得票数 0
回答已采纳
1
回答
如何保存从丢失的任何(python)生成的图形来可视化丢失的值?
图
是由msno.matrix(df)生成的我试过:fig.save_fig('plot.png')
AttributeError
:'
AxesSubplot
‘
对象
没有
属性
’
AxesSubplot
‘
浏览 0
提问于2019-12-10
得票数 4
1
回答
Python Matplotlib:
子
图
配置将数据帧数据传递到特定位置
、
、
、
、
我试图使用Matplotlib的
子
图
函数绘制条形
图
,下面是我的尝试:axs[0,0].df['Analysis'].value_counts
浏览 10
提问于2022-04-24
得票数 1
回答已采纳
2
回答
在熊猫盒子里只显示第n个挠号
、
、
datasets/loanf.csv') 我在p中保存了返回值,因为我认为可能需要进一步操作这个
图
,中学:上面的p是一个matplotlib.axes.
AxesSubplot
对象
。help(matplotlib.axes.
AxesSubplot</em
浏览 6
提问于2013-05-25
得票数 2
回答已采纳
2
回答
AttributeError
:'
AxesSubplot
‘
对象
没有
属性
'sharex’
、
、
奇怪的是,失败的错误是
AttributeError
: '
AxesSubplot
' object has no attribute 'sharex'。然而,
AxesSubplot
应该有一个sharex作为
属性
,所以我不知道它从何而来。
浏览 25
提问于2022-04-20
得票数 3
2
回答
AttributeError
:“
AxesSubplot
”
对象
没有
“”hold“”
属性
“”
我更换了一台新计算机并安装了Python3.6和matplotlib,当我上个月在旧计算机上运行代码时,我得到了以下错误: ax.hold(True)
AttributeError
:'
AxesSubplot
‘
对象
没有
'hold’
属性
。
浏览 0
提问于2018-12-28
得票数 4
1
回答
立即更改所有
子
情节的线条。
、
、
我有一个包含许多子
图
的图形,我的目标是同时定义所有
子
图
的linestyle,而不是为每个子
图
定义单独的
子
图
。.plot(values)我试着用斧头 ax.set_linestyle('None') 但这引发了错误:"'
AxesSubplot
‘
对象
没有
属性
'set_linestyl
浏览 2
提问于2020-03-17
得票数 0
回答已采纳
1
回答
用一个图形保存多个轴的pandas.DataFrame.hist
、
、
我有一个24列的熊猫数据表,我使用函数pandas.DataFrame.hist生成一个包含一些
子
图
的图形。_subplots.
AxesSubplot
object at 0x0000000018D47EB8>, <matplotlib.axes.plot.savefig(os.path.join(folder_wd, folde
浏览 1
提问于2019-03-29
得票数 0
回答已采纳
2
回答
如何并排绘制2幅海上地块?
、
、
、
在一个
子
图中绘制两个远距离
图
或散点图非常有效:import numpy as npimportSharing Y axis') 但是,当我对lmplot (而不是其他类型的图表)做同样的操作时,我会得到一个错误:
AttributeError
:'
AxesSubplot
‘
对象
没有</em
浏览 2
提问于2015-10-10
得票数 38
回答已采纳
3
回答
用于
子
图
的python单个X和Y标号
、
、
我试图为每个子
图
的x和y轴建立单独的标签。plt.subplots()ax.set_title('Simple plot') ax.set_ydata("Y")
AttributeError
:“
AxesSubplot
”
对象
没有
属性
“set_xdata” 知道我做错了什么吗?
浏览 4
提问于2020-02-07
得票数 0
回答已采纳
1
回答
如何使用pandas将箱线图的结果导出为csv文件?
、
grid=False,在上面的例子中,我得到了错误:
AttributeError
:'
AxesSubplot
‘
对象
没有
'to_csv’
属性
。我知道boxplot操作的结果是一个
AxesSubplot
,而
AxesSubplot
中
没有
to_csv方法。 有
没有</em
浏览 0
提问于2020-01-22
得票数 1
1
回答
使用twinx() -TypeError的Matplotlib:'
AxesSubplot
‘
对象
不支持项分配
、
我正在尝试使用twinx()为图表创建多个子
图
,但遇到了这个错误: TypeError:'
AxesSubplot
‘
对象
不支持项目赋值代码如下: fig, ax = plt.subplots(4,5,figsizeax[0,0].twinx() 当我尝试另一种不使用数组的方法时: fig, ax = plt.subplots(4,5,figsize=(8,8)) ax2=ax.twinx() 出现另一个错误:
AttributeError
:'numpy.ndarray‘
对象
没有<
浏览 14
提问于2020-07-24
得票数 0
1
回答
如何自定义Seaborn/Matplotlib热
图
色条
、
、
我需要自定义使用matplotlib获得的热映射颜色条的标签和刻度,到目前为止
没有
成功。ax.get_figure() figure.savefig('fig.svg', dpi=300, format="svg") 此代码生成一个热
图
,我发现关于如何自定义颜色条的文档很少,也
没有
什么能解决我的问题。我也希望得到帮助,因为我认为这对其他Matplotlib/Seaborn用户是有益的。
浏览 1
提问于2022-04-03
得票数 1
回答已采纳
1
回答
子
图
的matplotlib get_color
、
我正在学习这里的教程: axc.yaxis.label.set_color(p3.get_color()) 我的问题是:,我应该使用什么方法来恢复
子
浏览 0
提问于2018-08-27
得票数 9
回答已采纳
1
回答
AttributeError
:“
AxesSubplot
”
对象
没有
属性
“海岸线”
、
、
、
、
AttributeError
Traceback (most recent call last) 10 )---> 13 ax.coastlines()
AttributeError
: '
AxesSubplot
' object has no attribute
浏览 14
提问于2022-07-12
得票数 1
回答已采纳
1
回答
Threshold Otsu:
AttributeError
:'
AxesSubplot
‘
对象
没有
属性
'ravel’
、
、
、
、
当我尝试绘制时,我得到了错误
AttributeError
: '
AxesSubplot
' object has no attribute 'ravel' 下面是代码,附件是一个截图。
浏览 176
提问于2019-03-12
得票数 1
回答已采纳
1
回答
`nditer`和`flat`的区别,元素的类型
、
、
、
我创建了
子
图
,并且我想修改每个子
图
的xlim。10)) ax.set_xlim(left=0.0, right=0.5) 但是我得到了以下错误:
AttributeError
_subplots.
AxesSubplot
'>
AxesSubplot
(0.125,0.125;0.227941x0.343182) <class 'matplotl
浏览 40
提问于2020-04-09
得票数 1
回答已采纳
2
回答
有一个类matplotlib.axes.
AxesSubplot
,但模块matplotlib.axes
没有
属性
AxesSubplot
、
matplotlib.pyplot as pltax = fig.add_subplot(111)给出输出然后是代码matplotlib.axes.
AxesSubplot
AttributeError
: 'module' object hasno attribute '<em
浏览 3
提问于2012-07-27
得票数 29
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券