@@ -1006,14 +1006,10 @@ def _revcmap(data):
1006
1006
GMT_gebco = colors .LinearSegmentedColormap ("GMT_gebco" , _GMT_gebco_data , _LUTSIZE )
1007
1007
GMT_globe = colors .LinearSegmentedColormap ("GMT_globe" , _GMT_globe_data , _LUTSIZE )
1008
1008
GMT_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 )
1012
1010
GMT_ocean = colors .LinearSegmentedColormap ("GMT_ocean" , _GMT_ocean_data , _LUTSIZE )
1013
1011
GMT_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 )
1017
1013
GMT_relief = colors .LinearSegmentedColormap ("GMT_relief" , _GMT_relief_data , _LUTSIZE )
1018
1014
GMT_seis = colors .LinearSegmentedColormap ("GMT_seis" , _GMT_seis_data , _LUTSIZE )
1019
1015
GMT_split = colors .LinearSegmentedColormap ("GMT_split" , _GMT_split_data , _LUTSIZE )
@@ -1048,6 +1044,4 @@ def _revcmap(data):
1048
1044
_cmapname_r = _cmapname + "_r"
1049
1045
_cmapdat_r = _revcmap (datad [_cmapname ])
1050
1046
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