From c48cb517e58ec60f19c52d6725bfd1ab2beb99e7 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Tue, 1 Oct 2024 15:11:16 -0600 Subject: [PATCH 1/2] Use reversed viridis colormap --- usaon_benefit_tool/constants/colormap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usaon_benefit_tool/constants/colormap.py b/usaon_benefit_tool/constants/colormap.py index 8d9672d0..ebcf758f 100644 --- a/usaon_benefit_tool/constants/colormap.py +++ b/usaon_benefit_tool/constants/colormap.py @@ -4,7 +4,7 @@ COLORMAP_CLASSES = 8 COLORMAP_DATA_VALUE_RANGE = (0, 100) -cmap_name = 'viridis' +cmap_name = 'viridis_r' # "_r" means "reversed" cmap = colormaps[cmap_name] # FIXME: This duplication is only for expedience. We can do this in pure matplotlib # without leafmap. From 08645e93ac95353ad58537e3da833dcebfc76f94 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Tue, 1 Oct 2024 15:13:05 -0600 Subject: [PATCH 2/2] CHANGELOG --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c95982a..f696c8e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## v2.2.0 (2024-10-01) -* Allow ndes of same type to link +* Allow nodes of same type to link +* Reverse color bar ## v2.1.0 (2024-09-26)