腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
AttributeError
:
模块
“”
matplotlib
“”
没有
属性
“”
xlabel
“”
、
、
我的代码是: import
matplotlib
as plt plt.
xlabel
("Spending",plt.ylabel("Probablity", size=15) plt.title("Distribution for the variable - Spending", size=18); 我得到了一个错误:
AttributeError
ipython-inpu
浏览 297
提问于2020-09-01
得票数 2
回答已采纳
1
回答
AttributeError
:
模块
'
matplotlib
.pyplot‘
没有
属性
'
xlabel
’
、
我读过关于这个错误的所有类似的问题,它们要么是拼写错误,要么是导入
matplotlib
.pyplot as plt错误。import
matplotlib
plt.
xlabel
('Smoker')我不知道
浏览 23
提问于2022-11-18
得票数 0
1
回答
AttributeError
:
模块
“scipy.signal”在python中
没有
用于绘制抛物线信号的“特殊”
属性
。
、
、
、
、
AttributeError
:
模块
“scipy.signal”
没有
“特殊”
属性
from scipy import signalimport
matplotlib
.pyplotas pltplt.
xlabel
('Sample') t = signal.
浏览 2
提问于2022-07-20
得票数 -1
1
回答
X轴时间
matplotlib
重叠
、
/usr/bin/python3import datetime plt.
xlabel
('Time')00:00:01.99 26238.5 但这种时间格
浏览 34
提问于2017-01-24
得票数 0
回答已采纳
1
回答
AttributeError
:
模块
'
matplotlib
‘
没有
属性
'AxesSubplot’
、
、
、
当查看pandas方法.hist()的.hist()时,会编写它返回一个
matplotlib
.AxesSubplot或numpy.ndarray。但是,当尝试使用hist:
matplotlib
.AxesSubplot = df.hist()输入提示时,它不起作用(cf )。文章标题中的错误消息)。打印type()时,Python返回:Out[1]:
matplotlib
.axes._subplots.AxesSubplot。我应该用这个( hist )来提示我的变量
matplotlib
.axes._subplots.Ax
浏览 3
提问于2022-08-30
得票数 1
2
回答
AttributeError
:
模块
'
matplotlib
‘
没有
属性
'plot’
import
matplotlib
.pyplot as plt y = np.sin(x) 我收到错误"
AttributeError
:
模块
'
matplotlib
‘
没有
属性
'plot'“,如果有任何帮助,我们将不胜感激。
浏览 0
提问于2017-11-16
得票数 16
回答已采纳
1
回答
AttributeError
:
模块
“”
matplotlib
“”
没有
属性
“”pyplot“”
、
每当我尝试使用简单的命令时我收到以下错误消息--------------------------------------------------------------------------- 9
浏览 2
提问于2016-10-13
得票数 2
2
回答
AttributeError
:
模块
“”
matplotlib
“”
没有
属性
“”scatter“”
、
、
代码在plt.scatter(data['Lng'],data['Lat'])行中出现错误
AttributeError
: module '
matplotlib
' has no attribute'scatter' import numpy as npimport
matplotlib
as plt import seaborn as sns
浏览 67
提问于2019-10-24
得票数 4
回答已采纳
1
回答
AttributeError
:
模块
matplotlib
没有
属性
_tri
、
、
、
我正在尝试在我的conda环境(Python 3.6)中使用
Matplotlib
,我得到了这个错误。有谁知道怎么解决这个问题吗?------- ....5 7 import
matplotlib
._qhull as _qhull <
浏览 9
提问于2018-08-22
得票数 0
回答已采纳
1
回答
Matplotlib
错误:
AttributeError
:
模块
'
matplotlib
‘
没有
属性
'rcParams’
、
、
我一直在使用
matplotlib
,
没有
任何问题,但是昨天我尝试安装另一个使用
matplotlib
的库,从那以后,我有一个无法避免的错误。有人能帮我吗?
AttributeError
Traceback (most recent call last)---> 49 import
matplotlib
.colorbar
浏览 41
提问于2022-02-14
得票数 4
3
回答
Seaborn Barplot上的标签轴
、
、
fake, fig.set_axis_labels('Colors', 'Values')但是,我得到一个错误:
AttributeError
浏览 0
提问于2015-07-26
得票数 187
回答已采纳
1
回答
Python允许将元组分配给函数(pyplot的xticks)
、
、
import
matplotlib
.pyplot as plt%
matplotlib
inline print mpl.
浏览 2
提问于2016-05-15
得票数 0
回答已采纳
1
回答
gwpy包给出错误-
AttributeError
:
模块
'
matplotlib
.pyplot‘在Google中
没有
属性
'FigureManagerBase’
、
、
在Google Colab 包中出现错误-(但是,相同的代码在本地机器上运行得很好t2, t3, separate=True, sharex=True, figsize=[20, 12]) ax.set_xlim(0, 2) ax.set_
xlabel
/gwpy/plot/plot.py获得以下
浏览 7
提问于2021-08-25
得票数 0
回答已采纳
1
回答
如何向python中的函数传递/返回
matplotlib
对象
、
、
、
我正在尝试创建一个
模块
,该
模块
包含一些简单的函数,用于创建具有一些已经应用于它们的通用格式的情节。axesHandle = figureHandle.add_axes(axesSize, **axesStyle) axesHandle.set_
xlabel
(xString, **xLabelStyle) 我想要创建一个函数,它将add_axes()命令与grid()和set_
xlabel
()命令组合在一起。作为第一次尝试,忽略所有样式,我在我的NTPlotTool
浏览 1
提问于2018-06-06
得票数 0
回答已采纳
2
回答
当我想要使用plt.scatter时,我为什么会犯错?
、
、
我想在数据库上使用
matplotlib
库中的分散函数,但我根本不能。下面是我的代码和错误:错误:
AttributeError
:
模块
'
matplotlib
‘
没有
属性
’分散‘
浏览 2
提问于2021-12-19
得票数 0
3
回答
Matplotlib
模块
:“
AttributeError
”对象
没有
属性
“”popall“”
、
在尝试使用pyplot绘制图形时,我运行了以下代码:y = [3, 4, 5] plt.show()--------------------------------------------------------------------------- 948
matplotlib
.
浏览 0
提问于2017-05-24
得票数 16
回答已采纳
1
回答
无法调用
matplotlib
属性
v3.2.2
每当我试图运行以下代码时,都会收到一条错误消息import pandas as pdimport numpy asnp
AttributeError
:
模块
'
matplotlib
‘
没有
属性
'version’ 如果我尝试这样做,我会得到同样的错误:
matplotlib
.style.use
浏览 6
提问于2020-07-04
得票数 0
2
回答
AttributeError
:
模块
'
matplotlib
‘
没有
属性
’交互式‘
、
、
在木星笔记本中使用%
matplotlib
inline时,我会出错: %
matplotlib
--list 可用的
matplotlib
后端:“tk”、“gtk”、“gtk 3”、“wx”、“qt 4”、“qt 5”、“qt”、“osx”、“nbagg”、“记事本”、“agg”、“svg”、“pdf”、“ps”、“内联”、“ip
浏览 1
提问于2020-02-19
得票数 3
1
回答
Matplotlib
自定义样式错误
、
我试图在
matplotlib
中设置绘图样式:输出:
AttributeError
:“
模块
”对象
没有
属性
“样式” 因此,我的
matplotlib
浏览 2
提问于2016-07-21
得票数 0
1
回答
模块
'
matplotlib
‘
没有
属性
'imshow’
、
我试图使用
matplotlib
将数据显示为图像,但我收到了以下错误:
AttributeError
模块
'
matplotlib
‘
没有
属性
'imshow’import numpy asnpim = im[np.newaxis, :]plt.imshow(im, cmap=
浏览 2
提问于2021-03-23
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Matplotlib超全入门教程,看完秒变数据可视化大神!
Python数据可视化神器:Matplotlib绘图详解(一)
Matplotlib可应用于哪些方面
网络设备性能图表生成工具的开发:局域网管理监控中的Matplotlib应用
Python数据可视化实例之绘制图表
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券