From 6f1f222baa72f2697be5deed03d30ea6ce71dc4b Mon Sep 17 00:00:00 2001 From: duxin Date: Wed, 29 Jul 2026 12:03:03 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=B8=93=E9=A2=98=E5=9B=BE=20colormap?= =?UTF-8?q?=20=E6=9B=BF=E6=8D=A2=20=E2=80=94=20=E9=AB=98=E5=AF=B9=E6=AF=94?= =?UTF-8?q?=E5=BA=A6=20diverging=20=E2=86=92=20=E6=9F=94=E5=92=8C=20sequen?= =?UTF-8?q?tial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - coolwarm/Spectral/turbo/RdYlBu 等在小差值下色阶刺眼 - 全部换为 sequential: Greens/Blues/BuPu/cividis/viridis/YlOrBr - 保留 inferno(TDS) 和 YlOrBr(Turbidity) --- src/postprocessing/map.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/postprocessing/map.py b/src/postprocessing/map.py index 0e4f379..6d5f59a 100644 --- a/src/postprocessing/map.py +++ b/src/postprocessing/map.py @@ -47,19 +47,19 @@ plt.rcParams['axes.unicode_minus'] = False # 参数到颜色映射的字典 PARAMS_CMAP = { - "Chlorophyll": "YlGnBu_r", - "COD": "coolwarm", - "DO": "RdYlBu", - "pH": "Spectral", - "Temperature": "turbo", + "Chlorophyll": "Greens", + "COD": "Blues", + "DO": "Blues", + "pH": "BuPu", + "Temperature": "cividis", "spCond": "cividis", "Turbidity": "YlOrBr", "TDS": "inferno", - "Cl-": "RdYlBu_r", - "NO3-N": "YlOrRd", - "NH3-N": "magma", + "Cl-": "Blues", + "NO3-N": "YlOrBr", + "NH3-N": "viridis", "BGA": "viridis", - "TT": "RdYlBu_r" + "TT": "Blues" }