关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
weixin_58481024
2022-09-12 11:27
采纳率: 85.7%
浏览 348
首页
编程语言
已结题
AttributeError: module 'matplotlib.pyplot' has no attribute 'polt'这个是怎么回事呀
python
这个和课上教的程序输入的一样 但是还是出错了 这个该怎么改呀 我真的不知道怎么改 谢谢!
收起
写回答
好问题
0
提建议
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
编辑
收藏
删除
收藏
举报
2
条回答
默认
最新
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
梦里逆天
2022-09-12 11:29
关注
单词写错了,是plot
本回答被题主选为最佳回答
, 对您是否有帮助呢?
本回答被专家选为最佳回答
, 对您是否有帮助呢?
本回答被题主和专家选为最佳回答
, 对您是否有帮助呢?
解决
无用
评论
打赏
微信扫一扫
点击复制链接
分享
举报
编辑记录
评论
按下Enter换行,Ctrl+Enter发表内容
查看更多回答(1条)
向“C知道”追问
报告相同问题?
提交
关注问题
matplotlib
.
py
plot
跳错 明明有ylabel 为什么报错?
python
机器学习
聚类
2022-04-15 10:29
回答 2
已采纳
我感觉是你之前写错了,label写成了lable,你贴的代码更新正确了,但是你报的错还是旧的,你重编译下咋的
AttributeError
:
module
'num
py
' has no
attribute
'int'
python
2022-12-29 21:22
回答 2
已采纳
把.int改成.int32或者.int64试试
AttributeError
:
module
'selenium.webdriver' has no
attribute
'chromedriver' 问题
chrome
python
selenium
2022-01-18 17:45
回答 12
已采纳
提示模板中没有这个属性,你代码那里是不是写错了
AttributeError
:
module
‘
matplotlib
‘ has no
attribute
‘
py
plot
‘
2021-01-14 23:58
angelavor的博客
但是当我尝试想下面这样引入时,遇到了
AttributeError
:
module
'
matplotlib
' has no
attribute
'
py
plot
' 的问题。 import
matplotlib
plt =
matplotlib
.
py
plot
这是为什么呢?我又尝试如下引用方式,并对两次引用的...
AttributeError
:
module
'jieba' has no
attribute
'lcut'. Did you mean: 'cut'?
python
2022-12-13 18:36
回答 1
已采纳
lcut是jieba库的一个旧方法,在最新版本中已被废弃,应该使用cut替代。为了避免这种错误,你可以在代码中检查jieba库的文档,以确保你使用的方法是正确的。
AttributeError
:
module
'pandas' has no
attribute
'read_exce'
python
聚类
2022-04-10 10:06
回答 2
已采纳
pd.read_excel()
AttributeError
: 'num
py
.ndarray' object has no
attribute
'split'
python
机器学习
深度学习
2022-03-28 10:20
回答 2
已采纳
max([len(x.split(" ")) for x in x_data]),你的x的数据类型可能是num
py
,她是没有.split属性的,你把x转换为字符串,如str(x)
AttributeError
:
module
‘
matplotlib
‘ has no
attribute
‘
plot
‘
2022-04-19 10:31
windmyway的博客
AttributeError
:
module
'
matplotlib
' has no
attribute
'
plot
' 在使用 plt.
plot
() 画图时提示如上错误,解决方式:import
matplotlib
.
py
plot
as plt
AttributeError
:
module
'collections' has no
attribute
'Mapping'
python
2022-07-29 16:41
回答 1
已采纳
配置代码错误!检查板本有没有需要升级更新
做mnist识别时出现错误
AttributeError
:
module
'keras.api._v2.keras' has no
attribute
'train'
keras
tensorflow
神经网络
2022-09-19 20:31
回答 1
已采纳
现在用的是tf2吧,那应该要这样子写tf.keras.optimizers.Adam
AttributeError
: 'num
py
.ndarray' object has no
attribute
'toarray'
python
sklearn
有问必答
机器学习
2022-04-26 05:38
回答 2
已采纳
之前TruncatedSVD.transform返回一个数组,而不是稀疏矩阵,所以不能用toarray
py
thon错误:
AttributeError
:
module
’
matplotlib
‘ has no
attribute
’
plot
‘(已解决)
2020-06-04 18:19
菩提树下祈愿的少年的博客
import num
py
as np import
matplotlib
as plt x = np.array([1,2,3,4,5,6,7,8]) y = np.random.randint(5,size = 8...
AttributeError
:
module
'
matplotlib
' has no
attribute
'
plot
' 应该把 import
matplotlib
as pl
matplotlib
:
AttributeError
:‘DataFrame‘ object has no
attribute
‘xx‘
2022-07-01 17:06
城府1805的博客
读取数据的方法2(这应该是数据量小的时候): import pandas as pd # data = pd.DataFrame({'Education': [10.000000, 10.401338, 10.842809, 11.244147, 11.645449, 12.086957, 12.048829, 12.889632, 13.290970,...
AttributeError
: ‘AxesSub
plot
‘ object has no
attribute
‘ylabel‘,
matplotlib
报错
2021-03-12 11:51
千行百行的博客
错误复现 import
matplotlib
.
py
plot
as plt import num
py
as np a = np.arange(10) fig, axs = plt.sub
plot
s(2, 1) axs[0].
plot
(a) axs[0].ylabel('1st ax') # axs[0].set_ylabel('1st ax') axs[1].
plot
(a) axs[1]....
carto
py
绘图错误
AttributeError
: ‘GeoAxesSub
plot
‘ object has no
attribute
‘_autoscaleXon‘
2022-10-19 17:48
刘陈没有帅的博客
解决 carto
py
绘图错误
AttributeError
: 'GeoAxesSub
plot
' object has no
attribute
'_autoscaleXon'
没有解决我的问题,
去提问
向专家提问
向AI提问
付费问答(悬赏)服务下线公告
◇ 用户帮助中心
◇ 新手如何提问
◇ 奖惩公告
问题事件
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
系统已结题
9月20日
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
已采纳回答
9月12日
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
创建了问题
9月12日