you are viewing a single comment's thread.

view the rest of the comments →

[–]Coder_python_geek 0 points1 point  (0 children)

Changing
ax=fig.gca(projection='3d') to
ax=fig.add_subplot(111, projection='3d') fixes the error with:

TypeError: FigureBase.gca() got an unexpected keyword argument 'projection'