|
发表于 2022-5-27 15:02:23
|
显示全部楼层
运行第一段代码时报错了,这是什么问题呀?
Warning (from warnings module):
File "D:/python_program/Py_module/pymodule_1.py", line 10
ax = plt.gca(projection='3d')
MatplotlibDeprecationWarning: Calling gca() with keyword arguments was deprecated in Matplotlib 3.4. Starting two minor releases later, gca() will take no keyword arguments. The gca() function should only be used to get the current axes, or if no axes exist, create new axes with default keyword arguments. To create a new axes with non-default arguments, use plt.axes() or plt.subplot(). |
|