Skip to content

Commit 9241912

Browse files
apcamargopre-commit-ci[bot]tlambert03
authored
feat: Add the pantanal colormap (#81)
* Add the pantanal colormap * style(pre-commit.ci): auto fixes [...] * Remove extra comma in JSON --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Talley Lambert <[email protected]>
1 parent 590d77e commit 9241912

File tree

2 files changed

+269
-1
lines changed

2 files changed

+269
-1
lines changed

src/cmap/data/contrib/__init__.py

Lines changed: 260 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,3 +565,263 @@
565565
[0.95416907, 0.79527222, 0.72554452],
566566
[0.95294118, 0.80000000, 0.72941176],
567567
]
568+
569+
pantanal = [
570+
[1.00000000, 1.00000000, 1.00000000],
571+
[0.99607843, 0.99607843, 0.98823529],
572+
[0.98823529, 0.99607843, 0.97647059],
573+
[0.98431373, 0.99215686, 0.96470588],
574+
[0.98039216, 0.99215686, 0.95686275],
575+
[0.97254902, 0.98823529, 0.94509804],
576+
[0.96862745, 0.98823529, 0.93333333],
577+
[0.96470588, 0.98431373, 0.92156863],
578+
[0.95686275, 0.98039216, 0.90980392],
579+
[0.95294118, 0.98039216, 0.89803922],
580+
[0.94509804, 0.97647059, 0.88627451],
581+
[0.94117647, 0.97647059, 0.87450980],
582+
[0.93725490, 0.97254902, 0.86666667],
583+
[0.92941176, 0.96862745, 0.85490196],
584+
[0.92549020, 0.96862745, 0.84313725],
585+
[0.92156863, 0.96470588, 0.83137255],
586+
[0.91372549, 0.96078431, 0.81960784],
587+
[0.90980392, 0.96078431, 0.81176471],
588+
[0.90588235, 0.95686275, 0.80000000],
589+
[0.89803922, 0.95686275, 0.78823529],
590+
[0.89411765, 0.95294118, 0.77647059],
591+
[0.88627451, 0.94901961, 0.76862745],
592+
[0.88235294, 0.94901961, 0.75686275],
593+
[0.87843137, 0.94509804, 0.74509804],
594+
[0.87058824, 0.94117647, 0.73333333],
595+
[0.86666667, 0.94117647, 0.72549020],
596+
[0.85882353, 0.93725490, 0.71372549],
597+
[0.85490196, 0.93333333, 0.70196078],
598+
[0.85098039, 0.93333333, 0.69411765],
599+
[0.84313725, 0.92941176, 0.68235294],
600+
[0.83921569, 0.92941176, 0.67450980],
601+
[0.83137255, 0.92549020, 0.66274510],
602+
[0.82745098, 0.92156863, 0.65490196],
603+
[0.81960784, 0.92156863, 0.64313725],
604+
[0.81568627, 0.91764706, 0.63529412],
605+
[0.80784314, 0.91372549, 0.62352941],
606+
[0.80392157, 0.91372549, 0.61568627],
607+
[0.79607843, 0.90980392, 0.60784314],
608+
[0.79215686, 0.90588235, 0.59607843],
609+
[0.78431373, 0.90588235, 0.58823529],
610+
[0.78039216, 0.90196078, 0.58039216],
611+
[0.77254902, 0.89803922, 0.57254902],
612+
[0.76862745, 0.89803922, 0.56470588],
613+
[0.76078431, 0.89411765, 0.55294118],
614+
[0.75294118, 0.89019608, 0.54509804],
615+
[0.74901961, 0.89019608, 0.53725490],
616+
[0.74117647, 0.88627451, 0.52941176],
617+
[0.73333333, 0.88235294, 0.52549020],
618+
[0.72941176, 0.88235294, 0.51764706],
619+
[0.72156863, 0.87843137, 0.50980392],
620+
[0.71372549, 0.87450980, 0.50196078],
621+
[0.70980392, 0.87058824, 0.49803922],
622+
[0.70196078, 0.87058824, 0.49019608],
623+
[0.69411765, 0.86666667, 0.48235294],
624+
[0.68627451, 0.86274510, 0.47843137],
625+
[0.67843137, 0.86274510, 0.47450980],
626+
[0.67450980, 0.85882353, 0.46666667],
627+
[0.66666667, 0.85490196, 0.46274510],
628+
[0.65882353, 0.85490196, 0.45882353],
629+
[0.65098039, 0.85098039, 0.45490196],
630+
[0.64313725, 0.84705882, 0.45098039],
631+
[0.63529412, 0.84705882, 0.44705882],
632+
[0.62745098, 0.84313725, 0.44313725],
633+
[0.61960784, 0.83921569, 0.43921569],
634+
[0.61176471, 0.83921569, 0.43921569],
635+
[0.60000000, 0.83529412, 0.43529412],
636+
[0.59215686, 0.83137255, 0.43137255],
637+
[0.58431373, 0.83137255, 0.43137255],
638+
[0.57647059, 0.82745098, 0.43137255],
639+
[0.56862745, 0.82352941, 0.43137255],
640+
[0.55686275, 0.82352941, 0.42745098],
641+
[0.54901961, 0.81960784, 0.42745098],
642+
[0.53725490, 0.81568627, 0.42745098],
643+
[0.52941176, 0.81568627, 0.42745098],
644+
[0.52156863, 0.81176471, 0.42745098],
645+
[0.50980392, 0.80784314, 0.43137255],
646+
[0.49803922, 0.80784314, 0.43137255],
647+
[0.49019608, 0.80392157, 0.43137255],
648+
[0.47843137, 0.80000000, 0.43529412],
649+
[0.46666667, 0.80000000, 0.43529412],
650+
[0.45882353, 0.79607843, 0.43921569],
651+
[0.44705882, 0.79215686, 0.43921569],
652+
[0.43529412, 0.79215686, 0.44313725],
653+
[0.42352941, 0.78823529, 0.44313725],
654+
[0.41176471, 0.78431373, 0.44705882],
655+
[0.40000000, 0.78039216, 0.45098039],
656+
[0.38823529, 0.78039216, 0.45098039],
657+
[0.37647059, 0.77647059, 0.45490196],
658+
[0.36470588, 0.77254902, 0.45882353],
659+
[0.34901961, 0.77254902, 0.46274510],
660+
[0.33725490, 0.76862745, 0.46274510],
661+
[0.32156863, 0.76470588, 0.46666667],
662+
[0.30980392, 0.76078431, 0.47058824],
663+
[0.29411765, 0.76078431, 0.47450980],
664+
[0.27843137, 0.75686275, 0.47843137],
665+
[0.26274510, 0.75294118, 0.48235294],
666+
[0.24313725, 0.74901961, 0.48627451],
667+
[0.22745098, 0.74901961, 0.49019608],
668+
[0.20392157, 0.74509804, 0.49411765],
669+
[0.18431373, 0.74117647, 0.49411765],
670+
[0.16078431, 0.73725490, 0.49803922],
671+
[0.13333333, 0.73333333, 0.50196078],
672+
[0.09803922, 0.73333333, 0.50588235],
673+
[0.05098039, 0.72941176, 0.50980392],
674+
[0.00000000, 0.72549020, 0.51372549],
675+
[0.00000000, 0.72156863, 0.51764706],
676+
[0.00000000, 0.71764706, 0.52156863],
677+
[0.00000000, 0.71764706, 0.52549020],
678+
[0.00000000, 0.71372549, 0.52941176],
679+
[0.00000000, 0.70980392, 0.53333333],
680+
[0.00000000, 0.70588235, 0.53725490],
681+
[0.00000000, 0.70196078, 0.54117647],
682+
[0.00000000, 0.69803922, 0.54509804],
683+
[0.00000000, 0.69411765, 0.54901961],
684+
[0.00000000, 0.69019608, 0.55294118],
685+
[0.00000000, 0.68627451, 0.55686275],
686+
[0.00000000, 0.68235294, 0.56078431],
687+
[0.00000000, 0.67843137, 0.56078431],
688+
[0.00000000, 0.67450980, 0.56470588],
689+
[0.00000000, 0.66666667, 0.56862745],
690+
[0.00000000, 0.66274510, 0.56862745],
691+
[0.00000000, 0.65882353, 0.57254902],
692+
[0.00000000, 0.65490196, 0.57647059],
693+
[0.00000000, 0.65098039, 0.57647059],
694+
[0.00000000, 0.64705882, 0.57647059],
695+
[0.00000000, 0.64313725, 0.58039216],
696+
[0.00000000, 0.63921569, 0.58039216],
697+
[0.00000000, 0.63137255, 0.58431373],
698+
[0.00000000, 0.62745098, 0.58431373],
699+
[0.00000000, 0.62352941, 0.58431373],
700+
[0.00000000, 0.61960784, 0.58431373],
701+
[0.00000000, 0.61568627, 0.58431373],
702+
[0.00000000, 0.61176471, 0.58823529],
703+
[0.00000000, 0.60784314, 0.58823529],
704+
[0.00000000, 0.60392157, 0.58823529],
705+
[0.00000000, 0.60000000, 0.58823529],
706+
[0.00000000, 0.59215686, 0.58823529],
707+
[0.00000000, 0.58823529, 0.58823529],
708+
[0.00000000, 0.58431373, 0.58823529],
709+
[0.00000000, 0.58039216, 0.58823529],
710+
[0.00000000, 0.57647059, 0.58431373],
711+
[0.00000000, 0.57254902, 0.58431373],
712+
[0.00000000, 0.56862745, 0.58431373],
713+
[0.00000000, 0.56470588, 0.58431373],
714+
[0.00000000, 0.56078431, 0.58431373],
715+
[0.00000000, 0.55686275, 0.58431373],
716+
[0.00000000, 0.54901961, 0.58039216],
717+
[0.00000000, 0.54509804, 0.58039216],
718+
[0.00000000, 0.54117647, 0.58039216],
719+
[0.00000000, 0.53725490, 0.58039216],
720+
[0.00000000, 0.53333333, 0.57647059],
721+
[0.00000000, 0.52941176, 0.57647059],
722+
[0.00000000, 0.52549020, 0.57647059],
723+
[0.00000000, 0.52156863, 0.57254902],
724+
[0.00000000, 0.51764706, 0.57254902],
725+
[0.00000000, 0.51372549, 0.57254902],
726+
[0.00000000, 0.50588235, 0.56862745],
727+
[0.00000000, 0.50196078, 0.56862745],
728+
[0.00000000, 0.49803922, 0.56470588],
729+
[0.00000000, 0.49411765, 0.56470588],
730+
[0.00000000, 0.49019608, 0.56470588],
731+
[0.00000000, 0.48627451, 0.56078431],
732+
[0.00000000, 0.48235294, 0.56078431],
733+
[0.00000000, 0.47843137, 0.55686275],
734+
[0.00000000, 0.47450980, 0.55686275],
735+
[0.00000000, 0.47058824, 0.55294118],
736+
[0.00000000, 0.46666667, 0.55294118],
737+
[0.00000000, 0.46274510, 0.54901961],
738+
[0.00000000, 0.45882353, 0.54901961],
739+
[0.00000000, 0.45490196, 0.54509804],
740+
[0.00000000, 0.44705882, 0.54509804],
741+
[0.00000000, 0.44313725, 0.54117647],
742+
[0.00000000, 0.43921569, 0.53725490],
743+
[0.00000000, 0.43529412, 0.53725490],
744+
[0.00000000, 0.43137255, 0.53333333],
745+
[0.00000000, 0.42745098, 0.53333333],
746+
[0.00000000, 0.42352941, 0.52941176],
747+
[0.00000000, 0.41960784, 0.52549020],
748+
[0.00000000, 0.41568627, 0.52549020],
749+
[0.00000000, 0.41176471, 0.52156863],
750+
[0.00000000, 0.40784314, 0.51764706],
751+
[0.00000000, 0.40392157, 0.51764706],
752+
[0.00000000, 0.40000000, 0.51372549],
753+
[0.00000000, 0.39607843, 0.50980392],
754+
[0.00000000, 0.39215686, 0.50980392],
755+
[0.00000000, 0.38823529, 0.50588235],
756+
[0.00000000, 0.38431373, 0.50196078],
757+
[0.00000000, 0.38039216, 0.49803922],
758+
[0.00000000, 0.37647059, 0.49803922],
759+
[0.00000000, 0.37254902, 0.49411765],
760+
[0.00000000, 0.36862745, 0.49019608],
761+
[0.00000000, 0.36470588, 0.48627451],
762+
[0.00000000, 0.36078431, 0.48235294],
763+
[0.00000000, 0.35686275, 0.48235294],
764+
[0.00000000, 0.35294118, 0.47843137],
765+
[0.00000000, 0.34901961, 0.47450980],
766+
[0.00000000, 0.34509804, 0.47058824],
767+
[0.00000000, 0.34117647, 0.46666667],
768+
[0.00000000, 0.33725490, 0.45882353],
769+
[0.00000000, 0.32941176, 0.45490196],
770+
[0.00000000, 0.32549020, 0.44705882],
771+
[0.00000000, 0.32156863, 0.43921569],
772+
[0.00392157, 0.31764706, 0.43529412],
773+
[0.03137255, 0.31372549, 0.42745098],
774+
[0.05490196, 0.30980392, 0.41960784],
775+
[0.07450980, 0.30588235, 0.41176471],
776+
[0.09019608, 0.29803922, 0.40392157],
777+
[0.10588235, 0.29411765, 0.39607843],
778+
[0.11764706, 0.29019608, 0.39215686],
779+
[0.12941176, 0.28627451, 0.38431373],
780+
[0.13725490, 0.28235294, 0.37647059],
781+
[0.14901961, 0.27843137, 0.36862745],
782+
[0.15686275, 0.27058824, 0.36078431],
783+
[0.16470588, 0.26666667, 0.35294118],
784+
[0.17254902, 0.26274510, 0.34509804],
785+
[0.18039216, 0.25882353, 0.33725490],
786+
[0.18823529, 0.25490196, 0.32549020],
787+
[0.19215686, 0.24705882, 0.31764706],
788+
[0.20000000, 0.24313725, 0.30980392],
789+
[0.20392157, 0.23921569, 0.30196078],
790+
[0.21176471, 0.23529412, 0.29411765],
791+
[0.21568627, 0.22745098, 0.28627451],
792+
[0.21960784, 0.22352941, 0.27843137],
793+
[0.22745098, 0.21960784, 0.26666667],
794+
[0.23137255, 0.21176471, 0.25882353],
795+
[0.23529412, 0.20784314, 0.25098039],
796+
[0.23921569, 0.20392157, 0.24313725],
797+
[0.24313725, 0.19607843, 0.23137255],
798+
[0.25098039, 0.19215686, 0.22352941],
799+
[0.25490196, 0.18431373, 0.21568627],
800+
[0.25882353, 0.18039216, 0.20392157],
801+
[0.26274510, 0.17254902, 0.19607843],
802+
[0.26274510, 0.16862745, 0.18823529],
803+
[0.26666667, 0.16078431, 0.17647059],
804+
[0.27058824, 0.15686275, 0.16862745],
805+
[0.27450980, 0.14901961, 0.15686275],
806+
[0.27843137, 0.14117647, 0.14901961],
807+
[0.28235294, 0.13725490, 0.13725490],
808+
[0.28235294, 0.12941176, 0.12941176],
809+
[0.28627451, 0.12156863, 0.11764706],
810+
[0.29019608, 0.11372549, 0.10980392],
811+
[0.29019608, 0.10588235, 0.09803922],
812+
[0.29411765, 0.09803922, 0.08627451],
813+
[0.29803922, 0.08627451, 0.07450980],
814+
[0.29803922, 0.07843137, 0.06274510],
815+
[0.30196078, 0.06666667, 0.04705882],
816+
[0.30196078, 0.05490196, 0.03529412],
817+
[0.30588235, 0.03921569, 0.01960784],
818+
[0.30588235, 0.02352941, 0.00784314],
819+
[0.30980392, 0.00784314, 0.00000000],
820+
[0.30980392, 0.00000000, 0.00000000],
821+
[0.31372549, 0.00000000, 0.00000000],
822+
[0.31372549, 0.00000000, 0.00000000],
823+
[0.31372549, 0.00000000, 0.00000000],
824+
[0.30980392, 0.00000000, 0.00000000],
825+
[0.30196078, 0.00000000, 0.00000000],
826+
[0.29411765, 0.00000000, 0.00000000],
827+
]

src/cmap/data/contrib/record.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@
1414
],
1515
"category": "sequential",
1616
"data": "cmap.data.contrib:cerrado",
17-
"info": "The cerrado colormap is a sequential colormap with earthy tones created via color interpolation in the OKLAB space."
17+
"info": "The cerrado colormap is a sequential colormap with earthy tones, created via color interpolation in the OKLAB space."
18+
},
19+
"pantanal": {
20+
"authors": [
21+
"Antonio Camargo"
22+
],
23+
"category": "sequential",
24+
"data": "cmap.data.contrib:pantanal",
25+
"info": "The pantanal colormap is a sequential colormap that transitions from white to light green, then teal, and finally dark red, created via color interpolation in the OKLAB space."
1826
}
1927
},
2028
"license": "CC0",

0 commit comments

Comments
 (0)