@@ -1006,14 +1006,10 @@ def _revcmap(data):
10061006GMT_gebco = colors .LinearSegmentedColormap ("GMT_gebco" , _GMT_gebco_data , _LUTSIZE )
10071007GMT_globe = colors .LinearSegmentedColormap ("GMT_globe" , _GMT_globe_data , _LUTSIZE )
10081008GMT_haxby = colors .LinearSegmentedColormap ("GMT_haxby" , _GMT_haxby_data , _LUTSIZE )
1009- GMT_no_green = colors .LinearSegmentedColormap (
1010- "GMT_no_green" , _GMT_no_green_data , _LUTSIZE
1011- )
1009+ GMT_no_green = colors .LinearSegmentedColormap ("GMT_no_green" , _GMT_no_green_data , _LUTSIZE )
10121010GMT_ocean = colors .LinearSegmentedColormap ("GMT_ocean" , _GMT_ocean_data , _LUTSIZE )
10131011GMT_polar = colors .LinearSegmentedColormap ("GMT_polar" , _GMT_polar_data , _LUTSIZE )
1014- GMT_red2green = colors .LinearSegmentedColormap (
1015- "GMT_red2green" , _GMT_red2green_data , _LUTSIZE
1016- )
1012+ GMT_red2green = colors .LinearSegmentedColormap ("GMT_red2green" , _GMT_red2green_data , _LUTSIZE )
10171013GMT_relief = colors .LinearSegmentedColormap ("GMT_relief" , _GMT_relief_data , _LUTSIZE )
10181014GMT_seis = colors .LinearSegmentedColormap ("GMT_seis" , _GMT_seis_data , _LUTSIZE )
10191015GMT_split = colors .LinearSegmentedColormap ("GMT_split" , _GMT_split_data , _LUTSIZE )
@@ -1048,6 +1044,4 @@ def _revcmap(data):
10481044 _cmapname_r = _cmapname + "_r"
10491045 _cmapdat_r = _revcmap (datad [_cmapname ])
10501046 datad [_cmapname_r ] = _cmapdat_r
1051- locals ()[_cmapname_r ] = colors .LinearSegmentedColormap (
1052- _cmapname_r , _cmapdat_r , _LUTSIZE
1053- )
1047+ locals ()[_cmapname_r ] = colors .LinearSegmentedColormap (_cmapname_r , _cmapdat_r , _LUTSIZE )
0 commit comments