成功解决AttributeError: 'JointGrid' object has no attribute 'annotate'

目录

解决问题

解决思路

解决方法


解决问题

Traceback (most recent call last):File "F:\test2021011.py", line 60, in <module>JointGridScatterPlot(col_nums02,data_frame)File "F:\site-packages\DataVisualize_Functions2D.py", line 222, in JointGridScatterPlotfg.annotate(stats.pearsonr)
AttributeError: 'JointGrid' object has no attribute 'annotate'

解决思路

属性错误:'JointGrid'对象没有'annotate'属性

解决方法

    fg=sns.JointGrid(x=cols[0],y=cols[1],data=data_frame,)fg=fg.plot_joint(plt.scatter,color='m',edgecolor='white')             fg.annotate(stats.pearsonr)

JointGrid类中没有该方法,建议升级或者更新包的版本。

成功解决AttributeError: ‘JointGrid‘ object has no attribute ‘annotate‘相关推荐

  1. 成功解决AttributeError: ‘DataFrame‘ object has no attribute ‘tolist‘

    成功解决AttributeError: 'DataFrame' object has no attribute 'tolist' 目录 解决问题 解决思路 解决方法 解决问题 return objec ...

  2. 成功解决AttributeError: ‘NoneType‘ object has no attribute ‘shape‘

    成功解决AttributeError: 'NoneType' object has no attribute 'shape' 目录 解决问题 解决思路 解决方法 解决问题 multiplier = [ ...

  3. 成功解决AttributeError: ‘Series‘ object has no attribute ‘name’

    成功解决AttributeError: 'Series' object has no attribute 'name' 目录 解决问题 解决思路 解决方法 解决问题 AttributeError: ' ...

  4. 成功解决AttributeError: ‘Series‘ object has no attribute ‘columns‘

    成功解决AttributeError: 'Series' object has no attribute 'columns' 目录 解决问题 解决思路 解决方法 解决问题 AttributeError ...

  5. 成功解决AttributeError: ‘int‘ object has no attribute ‘encode‘

    成功解决AttributeError: 'int' object has no attribute 'encode' 目录 解决问题 解决思路 解决方法 解决问题 AttributeError: 'i ...

  6. 成功解决AttributeError : ‘GridSearchCV‘ object has no attribute ‘grid_scores_‘

    成功解决AttributeError : 'GridSearchCV' object has no attribute 'grid_scores_' 目录 解决问题 解决思路 解决方法 解决问题 At ...

  7. 成功解决AttributeError: ‘dict_values‘ object has no attribute ‘index‘

    成功解决AttributeError: 'dict_values' object has no attribute 'index' 目录 解决问题 解决思路 解决方法 解决问题 AttributeEr ...

  8. 成功解决AttributeError: 'list' object has no attribute 'ndim'

    成功解决AttributeError: 'list' object has no attribute 'ndim' 目录 解决问题 解决思路 解决方法 解决问题 AttributeError: 'li ...

  9. 成功解决AttributeError: 'DataFrame' object has no attribute 'tolist'

    成功解决AttributeError: 'DataFrame' object has no attribute 'tolist' 目录 解决问题 解决思路 解决方法 解决问题 AttributeErr ...

最新文章

  1. webpack v3 结合 react-router v4 做 dynamic import — 按需加载(懒加载)
  2. JUnit4中使用Hamcrest测试框架的assertThat断言 小实例
  3. MVC4建立DBContext的EF6数据
  4. Jenkins Gitlab持续集成打包平台搭建
  5. find 命令搜索符号链接文件夹的方法
  6. f分布表完整图_【教育统计答疑】如何理解正态分布、均值分布、^2分布、t分布和F分布...
  7. NTT通信公司在大阪开通运营容灾数据中心
  8. PyTorch | torch.zeros()如何使用?torch.zeros使用方法 | torch.zeros()例子
  9. -3dB下的正确率是100%!!!
  10. MAC下的环境变量配置
  11. 午休,要有午休床,也要有毛毯
  12. 角度传感器原理和应用
  13. Day4--MATLAB简介
  14. PR-CTS-Specify Clock Tree Synthesis Options
  15. MATLAB:数值微积分
  16. solidworks2016安装教程
  17. Echarts---介绍/柱形图和扇形图
  18. 办公邮箱安全性哪家好,163vip.com邮箱全新域名全新体验!
  19. 国内首部《数字货币词典》在新莫干山会议上启动,巴比特智库担任主编单位...
  20. android高仿今日头条小视频转场切换效果

热门文章

  1. 论文笔记:孪生神经网络(Siamese Network)
  2. RedHat7.0更新yum源(踩过的坑)
  3. 数字图像处理实验(9):PROJECT 04-05,Correlation in the Frequency Domain
  4. c语言指针的相关运算,C语言指针的运算
  5. boost shared_ptr线程安全性
  6. Python导出Excel图表
  7. [Node.js]DNS模块
  8. SQL注入攻击的种类和防范手段
  9. 天啊,为什么我的 Redis 变慢了。。
  10. 一篇文章带你详解 HTTP 协议之报文首部及字段详解(中)