Skip to content

Commit 63d6a35

Browse files
committed
Revert a couple of black reformatting changes
1 parent 50cd37e commit 63d6a35

File tree

1 file changed

+3
-9
lines changed
  • packages/basemap/src/mpl_toolkits/basemap

1 file changed

+3
-9
lines changed

packages/basemap/src/mpl_toolkits/basemap/cm.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,14 +1006,10 @@ def _revcmap(data):
10061006
GMT_gebco = colors.LinearSegmentedColormap("GMT_gebco", _GMT_gebco_data, _LUTSIZE)
10071007
GMT_globe = colors.LinearSegmentedColormap("GMT_globe", _GMT_globe_data, _LUTSIZE)
10081008
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)
10121010
GMT_ocean = colors.LinearSegmentedColormap("GMT_ocean", _GMT_ocean_data, _LUTSIZE)
10131011
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)
10171013
GMT_relief = colors.LinearSegmentedColormap("GMT_relief", _GMT_relief_data, _LUTSIZE)
10181014
GMT_seis = colors.LinearSegmentedColormap("GMT_seis", _GMT_seis_data, _LUTSIZE)
10191015
GMT_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

Comments
 (0)