|
@@ -771,7 +771,7 @@ def getNAndC(data, url):
|
|
|
|
|
|
fig.update_layout(
|
|
|
title={
|
|
|
- 'text': f"有机质与全氮相关关系图,y={round(slope,2)}x + {round(intercept,2)},R²={round(r[1],2)}",
|
|
|
+ 'text': f"有机质与全氮相关性散点图,y={round(slope,2)}x + {round(intercept,2)},R²={round(r[1],2)}",
|
|
|
'xanchor': 'center',
|
|
|
'yanchor': 'bottom',
|
|
|
'x': 0.5,
|
|
@@ -875,7 +875,7 @@ def getKData(data, url):
|
|
|
x_1 = np.arange(0, len(data['缓效钾']), 1)
|
|
|
y_1 = data['缓效钾']
|
|
|
getInteractiveImg(x, y, '速效钾', x_1, y_1, '缓效钾', [], [], '', url,
|
|
|
- '速效钾与缓效钾关系统计图', '样品序号', 'mg/kg', data['原样品编号'])
|
|
|
+ '速效钾与缓效钾散点图', '样品序号', 'mg/kg', data['原样品编号'])
|
|
|
|
|
|
|
|
|
|
|
@@ -888,8 +888,8 @@ def cationExchangeCapacity(data, url):
|
|
|
|
|
|
x = data['阳离子交换量']
|
|
|
y = data['交换性盐基总量']
|
|
|
- getInteractiveImg(x, y, '阳离子交换量与交换性盐基总量相关关系', [], [], '', [], [], '', url,
|
|
|
- '阳离子交换量与交换性盐基总量相关关系', '样品序号', 'mg/kg', data['原样品编号'])
|
|
|
+ getInteractiveImg(x, y, '阳离子交换量与交换性盐基总量相关性散点图', [], [], '', [], [], '', url,
|
|
|
+ '阳离子交换量与交换性盐基总量相关性散点图', '样品序号', 'mg/kg', data['原样品编号'])
|
|
|
|
|
|
|
|
|
|
|
@@ -965,7 +965,7 @@ def manyTypes(data,url):
|
|
|
|
|
|
fig.update_layout(
|
|
|
title={
|
|
|
- 'text':f"全盐量与电导率相关关系图,y={round(slope, 2)}x + {round(intercept, 2)},R²={round(r[1], 2)}",
|
|
|
+ 'text':f"全盐量与电导率相关性散点图,y={round(slope, 2)}x + {round(intercept, 2)},R²={round(r[1], 2)}",
|
|
|
'xanchor': 'center',
|
|
|
'yanchor': 'bottom',
|
|
|
'x': 0.5,
|
|
@@ -994,7 +994,7 @@ def manyTypes(data,url):
|
|
|
print(3.443)
|
|
|
|
|
|
y4 = (y2-y3)
|
|
|
-
|
|
|
+
|
|
|
getInteractiveImg(x2, y2, '离子总量', x2, y3, '水溶性盐总量', x2, y4,
|
|
|
'离子总量与水溶性盐总量之差', url,
|
|
|
'水溶性盐总量与离子总量相关性散点图', '样品数量', '离子总量/水溶性盐总量(g/kg)', data['原样品编号'])
|