Skip to content

Commit a08ca3f

Browse files
committed
default color_map if one isn't provided
1 parent d90141d commit a08ca3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uvdat/core/tasks/netcdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def create_netcdf_data_layer(file_item, metadata):
188188
variable=item.get('variable'),
189189
x_variable=item.get('x_variable'),
190190
y_variable=item.get('y_variable'),
191-
color_map=item.get('color_map'),
191+
color_map=item.get('color_map', 'viridis'),
192192
sliding_variable=item.get('sliding_variable'),
193193
description=item.get('description', ''),
194194
additional_vars=item.get('additional_var', ''),

0 commit comments

Comments
 (0)