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

Bk3_Ch6_01.py运行报错 #159

Open
sonilics12 opened this issue May 3, 2024 · 2 comments
Open

Bk3_Ch6_01.py运行报错 #159

sonilics12 opened this issue May 3, 2024 · 2 comments

Comments

@sonilics12
Copy link

sonilics12 commented May 3, 2024

第23行
ax = fig.gca(projection='3d')
运行报错 : TypeError: FigureBase.gca() got an unexpected keyword argument 'projection'

我的修改
ax = fig.add_subplot(111, projection='3d')

是因为引用库中的接口升级了吗?

@Visualize-ML
Copy link
Owner

Visualize-ML commented May 20, 2024 via email

@sonilics12
Copy link
Author

建议把运行环境需要的三方依赖库的版本号说明一下, 书的改版很难跟得上库版本升级.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants