python matplotlib德洛内。德洛内警告

2024-09-28 13:15:01 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个警告错误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

。。。你知道吗

但我一直得到警告。。。你知道吗

做这件事的方法是什么。。。你知道吗

最佳富豪

斯蒂芬


Tags: 文件代码import警告parammatplotlibdef错误

热门问题