@@ -188,7 +188,7 @@ def getImg(x,y,url,name,sheetName,xLabel,YLabel,numArr,fileUrl,loc):
y_pred = model.predict(x.to_numpy().reshape(-1, 1))
fig.add_trace(go.Scatter(x=x, y=y_pred, mode='lines', name='拟合直线'))
- html_file_path = f"{url}/{name}频度统计图.html"
+ html_file_path = f"{url}/{name}.html"
pio.write_html(fig, file=html_file_path, auto_open=False)
# 在表格中插入html
workbook = load_workbook(filename=fileUrl)