我有一个警告错误matplotlib.delaunay文件已弃用。我试图通过这样的代码忽略这一点:
def someFunction(N):
import warnings
warnings.filterwarnings("ignore")
# Initializes a random truss, with a few preset options
Somevariable = 23
for i in range(N-5):
blablabla code
# Delaunay triangulation to get connections
varaibleX= delaunay.delaunay(Param 1, Param 2)
return variableX
。。。你知道吗
但我一直得到警告。。。你知道吗
做这件事的方法是什么。。。你知道吗
最佳富豪
斯蒂芬
目前没有回答
相关问题 更多 >
编程相关推荐