Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from toad.plot import badrate_plot, proportion_plot 模块报错 #6

Closed
kanong888 opened this issue Dec 26, 2019 · 5 comments
Closed
Projects

Comments

@kanong888
Copy link

from toad.plot import badrate_plot, proportion_plot
Traceback (most recent call last):
File "D:\program\Anaconda\lib\site-packages\numpy\core\function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer

更新numpy 版本未解决>>> numpy.version
'1.18.0'

@Secbone
Copy link
Member

Secbone commented Dec 27, 2019

@kanong888 更新下 matplotlib 试下

@IronMAN3zz
Copy link

更新了matplotlib还是不行

@kanong888
Copy link
Author

折腾了一圈,更新了numpy、matplotlib、seaborn 都没搞定,最终卸载了 重新安装了官网截止2019年12月最新版本的Anaconda解决了问题(之前用的版本是截止2018年10月的版本官网版本)。暂时没时间回溯定位问题,遇到同样问题的朋友欢迎共享出来 :)

@Secbone
Copy link
Member

Secbone commented Dec 30, 2019

@kanong888 10月的版本是指 56 还是 57 版本?

@Secbone Secbone added this to Done in Plot Jan 8, 2020
@Secbone
Copy link
Member

Secbone commented Mar 3, 2020

定位问题为 seaborn 与 numpy 的兼容问题,已在最新依赖修复。

@Secbone Secbone closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Plot
  
Done
Development

No branches or pull requests

3 participants