腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
模块
“
matplotlib.pyplot
”
没有
属性
“
xaxis
”
、
、
所以我是Python的新手,我遇到了以下问题:我想显示一个盒子图,但每次我试图命名坐标轴或yaxis时,我都会得到以下错误: AttributeError: module '
matplotlib.pyplot
‘
没有
属性
'
xaxis
’,我希望能得到一些帮助,因为我不知道是什么导致了这个问题。import pandas as pdmyFile = pd.read_csv("myFile.csv", sep
浏览 491
提问于2020-04-21
得票数 0
回答已采纳
1
回答
模块
'
matplotlib.pyplot
‘
没有
属性
'yaxis’
模块
'
matplotlib.pyplot
‘
没有
属性
'yaxis’ 有什么建议吗?
浏览 63
提问于2020-07-08
得票数 0
回答已采纳
1
回答
AttributeError:
模块
'
matplotlib.pyplot
‘
没有
属性
'xlabel’
、
我读过关于这个错误的所有类似的问题,它们要么是拼写错误,要么是导入
matplotlib.pyplot
as plt错误。import matplotlib这是错误:AttributeError: module '
matplotlib.pyplot
' has no attribute 'xla
浏览 23
提问于2022-11-18
得票数 0
0
回答
xlable:
模块
“”
matplotlib.pyplot
“”
没有
属性
“”xlable“”
、
import
matplotlib.pyplot
as plt plt.plot(squares,linewidth=5) plt.title('Square
浏览 5
提问于2017-06-06
得票数 6
回答已采纳
2
回答
AttributeError:
模块
'
matplotlib.pyplot
‘
没有
属性
'axline’
、
我有个问题:这是我的密码import numpy as np AttributeError: module '
matplotlib.pyplot
我真的不明白为什么我有AttributeError: module '
matplot
浏览 28
提问于2022-01-14
得票数 3
2
回答
模块
“
matplotlib.pyplot
”
没有
属性
“修补程序”
、
问题是,当我试图添加precentage注释时,会出现错误:import seaborn as snsimport
matplotlib.pyplot
as plt%matplotlib inline plt.an
浏览 2
提问于2020-10-22
得票数 1
回答已采纳
1
回答
获取
属性
错误:
模块
'
matplotlib.pyplot
‘
没有
属性
’画布‘
、
、
、
、
执行时,将显示
属性
错误。 我是新来的,无法解决错误。救命啊!
浏览 1
提问于2019-03-18
得票数 1
1
回答
模块
“
matplotlib.pyplot
”
没有
属性
“tight_layout”
、
、
任何其他matplotlib或pyplot函数都可以工作,但每当我调用tight_layout时,都会得到 module '
matplotlib.pyplot
' has no attribute 'tight_layout我已经重新安装了matplotlib包几次,并且重新安装了我的IDE (Spyder)也
没有
用。我对此一无所知,所以任何输入都是很好的。
浏览 1
提问于2018-02-13
得票数 0
1
回答
如何独立设置绘图的水平和垂直、主次网格线?
、
、
我想绘制y轴的主要网格线(水平网格线),但我不想绘制垂直的主要网格线(x轴)。相反,我想绘制垂直的次要网格线。ax.grid(which='major', linewidth=0)代码隐藏了垂直和水平主网格线...
浏览 3
提问于2017-01-04
得票数 13
1
回答
invert_
xaxis
在使用matplotlib plt.barh时出现错误
、
、
我不断地发现错误: import
matplotlib.pyplot
as pltx1, align='center', color='b')axes[0].invert_
xaxis
浏览 0
提问于2019-03-21
得票数 1
回答已采纳
1
回答
是否有一种方法专门为matplotlib中的一个图形设置绘图全局
属性
?
、
、
coly_codes.keys()) if save:下面是我在函数中使用的
属性
有
没有
办法专门为一个图形设置绘图global properties,而不影响jupyter notebook中的其他绘图?或者至少有一种很好的方法来更改一个绘图函数的
属性
,然后将它们更改回以前使用的值(不一定是rcdefaults )。
浏览 2
提问于2021-08-18
得票数 0
回答已采纳
1
回答
如何在Python中绘制两个直方图,其中一个镜像相对于另一个镜像?
、
、
、
我想把这两个直方图上下合并成一个直方图。图2: 预期输出: 我该怎么办?
浏览 10
提问于2021-07-19
得票数 1
1
回答
Matplotlib -x轴与日期时间之间的不均匀间隔
、
、
、
我目前遇到了一个问题,在使用DatetimeIndex作为x轴时,我的曲线图上刻度之间的间隔似乎不均匀。代码如下: x = pd.date_range('2018-11-03', '2018-12-30')plt.xticks(rotation=45) ? 请注意,在这两个实例中,日期不会按典型的7天周期递增。即使延长了时间段,问题仍然存在: x = pd.date_range('2018-11-03', '2019-03-20') plt.plot(x,
浏览 87
提问于2019-01-06
得票数 4
回答已采纳
2
回答
matplotlib中的直方图,x轴上的时间
、
、
、
、
我是matplotlib (1.3.1-2)的新手,我找不到一个合适的起点。我想用matplotlib绘制直方图中点随时间的分布。date2011-12-132013-11-012013-06-04...2011-12-13 -> 2 times2013-06-04 -> 2 times因为在很多年里会有很多点,所以我想在我的x-Axis和
浏览 0
提问于2015-04-16
得票数 33
回答已采纳
2
回答
如何去除带有不连续x轴的图形的y轴?
、
我正在尝试在brokenaxes
模块
的帮助下绘制具有不连续x轴的图形(如下所示)。https://pypi.org/project/brokenaxes/ ? 但我不知道如何去掉图中的y轴。我尝试了其他问题的一些方法,但似乎与brokenaxes
模块
不兼容。有人能帮上忙吗? 代码如下所示。import
matplotlib.pyplot
as pltimport numpy as np import pandas
浏览 60
提问于2020-07-20
得票数 0
回答已采纳
1
回答
ax.get_
xaxis
的同义词是什么?
、
、
我试图用ax.get_
xaxis
来绘制对数图,但我
没有
斧头。相反,我想使用类似的
matplotlib.pyplot
函数,只在当前的绘图中使用它,但我似乎无法在网上找到它。那会是什么?示例: plt.get_
xaxis
().set_major_formatter(matplotlib.ticker.ScalarFormatter())
浏览 1
提问于2019-10-11
得票数 0
回答已采纳
2
回答
如何在使用自定义刻度定位器和格式化程序时设置轴刻度标签的
属性
?
、
事实上,ax.get_xticklabels()甚至
没有
返回在MaxNLocator中设置的5的滴答标签的正确数量-这是一个错误吗?import
matplotlib.pyplot
as pltfig, ax = plt.subplots(FuncFormatter(format_fn))ax.set_xtick
浏览 0
提问于2017-10-09
得票数 0
2
回答
matplotlib顶部和底部的刻度不同
在matplotlib图中,有
没有
一种方法可以让顶部标记进入,底部标记出来?有时我有数据隐藏标记,我想只为受影响的那一侧设置标记。fig = plt.figure()ax.plot( [0, 1, 3], 'o
浏览 1
提问于2013-11-10
得票数 10
2
回答
AttributeError:
模块
'matplotlib‘
没有
属性
’交互式‘
、
、
在木星笔记本中使用%matplotlib inline时,我会出错: import
matplotlib.pyplot
as plt 然后,我尝试在我的conda中安装这
浏览 1
提问于2020-02-19
得票数 3
4
回答
样式
没有
‘
matplotlib.pyplot
’
属性
、
我正在尝试按照教程在matplotlib中设置样式plt.style.use('ggplot')AttributeError
浏览 14
提问于2014-11-30
得票数 29
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python数据可视化神器:Matplotlib绘图详解(一)
在R、Python和Julia中常用的数据可视化技术
Python数据可视化实例之绘制图表
Matplotlib 教程(一):简介
Python模块-Matplotlib(一)
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券