Skip to content

Commit 0b794ed

Browse files
committed
Fix cmap data for gist_earth_r, etc.
svn path=/trunk/matplotlib/; revision=8051
1 parent 2678066 commit 0b794ed

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2009-12-22 Fix cmap data for gist_earth_r, etc. -JJL
2+
13
2009-12-20 spines: put spines in data coordinates, add set_bounds()
24
call. -ADS
35

lib/matplotlib/_cm.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ def gfunc32(x):
14341434
(0.5490, 0.4719, 0.4719),
14351435
(0.6980, 0.7176, 0.7176),
14361436
(0.7882, 0.7553, 0.7553),
1437-
(1.0000, 0.9922, 0),
1437+
(1.0000, 0.9922, 0.9922),
14381438
), 'green': (
14391439
(0.0, 0.0, 0.0000),
14401440
(0.0275, 0.0000, 0.0000),
@@ -1458,7 +1458,7 @@ def gfunc32(x):
14581458
(0.9569, 0.8635, 0.8635),
14591459
(0.9647, 0.8816, 0.8816),
14601460
(0.9961, 0.9733, 0.9733),
1461-
(1.0000, 0.9843, 0),
1461+
(1.0000, 0.9843, 0.9843),
14621462
), 'blue': (
14631463
(0.0, 0.0, 0.0000),
14641464
(0.0039, 0.1684, 0.1684),
@@ -1470,7 +1470,7 @@ def gfunc32(x):
14701470
(0.5451, 0.3205, 0.3205),
14711471
(0.7843, 0.3961, 0.3961),
14721472
(0.8941, 0.6651, 0.6651),
1473-
(1.0000, 0.9843, 0),
1473+
(1.0000, 0.9843, 0.9843),
14741474
)}
14751475

14761476
_gist_gray_data = {
@@ -1495,7 +1495,7 @@ def gfunc32(x):
14951495
(0.7922, 1.0000, 1.0000),
14961496
(0.8471, 0.6218, 0.6218),
14971497
(0.8980, 0.9235, 0.9235),
1498-
(1.0000, 0.9961, 0),
1498+
(1.0000, 0.9961, 0.9961),
14991499
), 'green': (
15001500
(0.0, 0.0, 0.0000),
15011501
(0.0510, 0.3722, 0.3722),
@@ -1516,9 +1516,9 @@ def gfunc32(x):
15161516
(0.7922, 0.0000, 0.0000),
15171517
(0.8431, 0.1753, 0.1753),
15181518
(0.8980, 0.5000, 0.5000),
1519-
(1.0000, 0.9725, 0),
1519+
(1.0000, 0.9725, 0.9725),
15201520
), 'blue': (
1521-
(0.0, 0.0, 0.5020),
1521+
(0.0, 0.5020, 0.5020),
15221522
(0.0510, 0.0222, 0.0222),
15231523
(0.1098, 1.0000, 1.0000),
15241524
(0.2039, 1.0000, 1.0000),
@@ -1535,7 +1535,7 @@ def gfunc32(x):
15351535
(0.8000, 1.0000, 1.0000),
15361536
(0.8431, 1.0000, 1.0000),
15371537
(0.8980, 0.9341, 0.9341),
1538-
(1.0000, 0.9961, 0),
1538+
(1.0000, 0.9961, 0.9961),
15391539
)}
15401540

15411541
_gist_rainbow_data = (
@@ -1552,7 +1552,7 @@ def gfunc32(x):
15521552
_gist_stern_data = {
15531553
'red': (
15541554
(0.000, 0.000, 0.000), (0.0547, 1.000, 1.000),
1555-
(0.250, 0.027, 0.027), (0.2500, 0.250, 0.250),
1555+
(0.250, 0.027, 0.250), #(0.2500, 0.250, 0.250),
15561556
(1.000, 1.000, 1.000)),
15571557
'green': ((0, 0, 0), (1, 1, 0)),
15581558
'blue': (

0 commit comments

Comments
 (0)