Skip to content

Commit

Permalink
Merge pull request #326 from nsidc/reverse-colorbar
Browse files Browse the repository at this point in the history
Use reversed viridis colormap
  • Loading branch information
mfisher87 authored Oct 1, 2024
2 parents 335da3e + 08645e9 commit 47719c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion usaon_benefit_tool/constants/colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 47719c1

Please sign in to comment.