Skip to content

Commit 2b80888

Browse files
committed
show_cmaps bugfix
1 parent 317e076 commit 2b80888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proplot/styletools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3555,7 +3555,7 @@ def show_cmaps(*args, N=None, unknown='User', **kwargs):
35553555
# Get dictionary of registered colormaps and their categories
35563556
cmapdict = {}
35573557
names_all = list(map(str.lower, names))
3558-
names_known = sum(CMAPS_TABLE.values(), [])
3558+
names_known = sum(map(list, CMAPS_TABLE.values()), [])
35593559
cmapdict[unknown] = [name for name in names if name not in names_known]
35603560
for cat, names in CMAPS_TABLE.items():
35613561
cmapdict[cat] = [name for name in names if name.lower() in names_all]

0 commit comments

Comments
 (0)