We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 035ce08 commit 579581fCopy full SHA for 579581f
packages/basemap/src/mpl_toolkits/basemap/cm.py
@@ -26,13 +26,14 @@ def _revcmap(data):
26
val = list(val)
27
valrev = val[::-1]
28
valnew = []
29
- for a, b, c in valrev:
30
- valnew.append((1.0 - a, b, c))
+ for xval, color0, color1 in valrev:
+ valnew.append((1.0 - xval, color0, color1))
31
data_r[key] = valnew
32
return data_r
33
34
35
# Create the dictionaries of segment data for each colormap.
36
+# pylint: disable=too-many-lines
37
_GMT_drywet_data = {
38
"blue": [
39
(0.0, 0.164705887437, 0.164705887437),
0 commit comments