import pathlib

from ._base import Colormap

colormap = Colormap.from_rgb_table(
    name=pathlib.Path(__file__).stem,
    type="diverging",
    rgb=[
        (1.0, 0.81263, 0.40424),
        (0.99516, 0.80455, 0.40155),
        (0.99024, 0.79649, 0.39888),
        (0.98532, 0.78848, 0.39622),
        (0.98041, 0.7805, 0.39356),
        (0.97551, 0.77257, 0.39093),
        (0.97062, 0.76468, 0.3883),
        (0.96573, 0.75684, 0.38568),
        (0.96087, 0.74904, 0.3831),
        (0.95601, 0.74129, 0.38052),
        (0.95116, 0.7336, 0.37795),
        (0.94631, 0.72595, 0.37539),
        (0.94149, 0.71835, 0.37286),
        (0.93667, 0.7108, 0.37034),
        (0.93186, 0.7033, 0.36784),
        (0.92706, 0.69585, 0.36536),
        (0.92228, 0.68845, 0.36289),
        (0.9175, 0.68109, 0.36042),
        (0.91273, 0.67379, 0.358),
        (0.90797, 0.66653, 0.35558),
        (0.90321, 0.65932, 0.35316),
        (0.89846, 0.65216, 0.35078),
        (0.89372, 0.64503, 0.34839),
        (0.88899, 0.63796, 0.34601),
        (0.88426, 0.63093, 0.34367),
        (0.87953, 0.62395, 0.34134),
        (0.87481, 0.617, 0.33902),
        (0.87009, 0.61009, 0.3367),
        (0.86538, 0.60323, 0.33442),
        (0.86067, 0.59641, 0.33213),
        (0.85597, 0.58963, 0.32987),
        (0.85125, 0.5829, 0.3276),
        (0.84655, 0.57621, 0.32536),
        (0.84185, 0.56954, 0.32315),
        (0.83714, 0.56294, 0.32094),
        (0.83243, 0.55635, 0.31874),
        (0.82772, 0.54983, 0.31656),
        (0.82301, 0.54333, 0.31438),
        (0.81829, 0.53688, 0.31222),
        (0.81357, 0.53046, 0.3101),
        (0.80886, 0.52408, 0.30796),
        (0.80413, 0.51775, 0.30587),
        (0.7994, 0.51145, 0.30375),
        (0.79466, 0.50519, 0.30167),
        (0.78991, 0.49898, 0.29962),
        (0.78516, 0.4928, 0.29757),
        (0.7804, 0.48668, 0.29553),
        (0.77564, 0.48058, 0.29351),
        (0.77086, 0.47454, 0.29153),
        (0.76608, 0.46853, 0.28954),
        (0.76128, 0.46255, 0.28756),
        (0.75647, 0.45663, 0.28561),
        (0.75166, 0.45075, 0.28369),
        (0.74682, 0.44491, 0.28178),
        (0.74197, 0.4391, 0.27988),
        (0.73711, 0.43333, 0.27801),
        (0.73223, 0.42762, 0.27616),
        (0.72732, 0.42192, 0.2743),
        (0.72239, 0.41628, 0.27247),
        (0.71746, 0.41067, 0.27069),
        (0.71247, 0.40508, 0.26891),
        (0.70747, 0.39952, 0.26712),
        (0.70244, 0.39401, 0.26538),
        (0.69737, 0.38852, 0.26367),
        (0.69227, 0.38306, 0.26194),
        (0.68712, 0.37761, 0.26025),
        (0.68193, 0.37219, 0.25857),
        (0.67671, 0.3668, 0.25692),
        (0.67143, 0.36142, 0.25529),
        (0.6661, 0.35607, 0.25367),
        (0.66071, 0.35073, 0.25208),
        (0.65528, 0.34539, 0.25049),
        (0.6498, 0.34009, 0.24895),
        (0.64425, 0.3348, 0.24742),
        (0.63866, 0.32953, 0.2459),
        (0.633, 0.32425, 0.24442),
        (0.62729, 0.31901, 0.24298),
        (0.62152, 0.3138, 0.24157),
        (0.6157, 0.3086, 0.24017),
        (0.60983, 0.30341, 0.23881),
        (0.60391, 0.29826, 0.23752),
        (0.59793, 0.29314, 0.23623),
        (0.59191, 0.28805, 0.235),
        (0.58585, 0.28302, 0.23377),
        (0.57974, 0.27799, 0.23263),
        (0.57359, 0.27302, 0.23155),
        (0.56741, 0.26808, 0.23047),
        (0.5612, 0.26321, 0.22948),
        (0.55496, 0.25837, 0.22857),
        (0.54871, 0.25361, 0.22769),
        (0.54243, 0.24891, 0.22689),
        (0.53614, 0.24424, 0.22616),
        (0.52984, 0.23968, 0.22548),
        (0.52354, 0.2352, 0.22487),
        (0.51724, 0.23076, 0.22436),
        (0.51094, 0.22643, 0.22395),
        (0.50467, 0.22217, 0.22363),
        (0.49841, 0.21802, 0.22339),
        (0.49217, 0.21397, 0.22325),
        (0.48595, 0.21, 0.22321),
        (0.47979, 0.20618, 0.22328),
        (0.47364, 0.20242, 0.22345),
        (0.46756, 0.1988, 0.22373),
        (0.46152, 0.19532, 0.22413),
        (0.45554, 0.19195, 0.22465),
        (0.44962, 0.18873, 0.22534),
        (0.44377, 0.18566, 0.22616),
        (0.43799, 0.18266, 0.22708),
        (0.43229, 0.17987, 0.22817),
        (0.42665, 0.17723, 0.22938),
        (0.42111, 0.17474, 0.23077),
        (0.41567, 0.17238, 0.23232),
        (0.41033, 0.17023, 0.23401),
        (0.40507, 0.16822, 0.2359),
        (0.39992, 0.1664, 0.23794),
        (0.39489, 0.16475, 0.24014),
        (0.38996, 0.16331, 0.24254),
        (0.38515, 0.16203, 0.24512),
        (0.38046, 0.16093, 0.24792),
        (0.37589, 0.16, 0.25087),
        (0.37143, 0.15932, 0.25403),
        (0.36711, 0.15883, 0.25738),
        (0.36292, 0.15853, 0.26092),
        (0.35885, 0.15843, 0.26466),
        (0.35494, 0.15853, 0.26862),
        (0.35114, 0.15882, 0.27276),
        (0.34748, 0.15931, 0.27711),
        (0.34394, 0.15999, 0.28164),
        (0.34056, 0.16094, 0.28636),
        (0.33731, 0.16207, 0.29131),
        (0.3342, 0.16338, 0.29642),
        (0.33121, 0.16486, 0.3017),
        (0.32837, 0.16658, 0.30719),
        (0.32565, 0.16847, 0.31284),
        (0.3231, 0.17056, 0.31867),
        (0.32066, 0.17283, 0.32465),
        (0.31834, 0.1753, 0.33079),
        (0.31616, 0.17797, 0.3371),
        (0.3141, 0.18074, 0.34354),
        (0.31216, 0.18373, 0.35011),
        (0.31038, 0.1869, 0.35682),
        (0.3087, 0.19021, 0.36363),
        (0.30712, 0.1937, 0.37056),
        (0.3057, 0.19732, 0.3776),
        (0.30435, 0.20106, 0.38473),
        (0.30314, 0.205, 0.39195),
        (0.30204, 0.20905, 0.39924),
        (0.30106, 0.21323, 0.40661),
        (0.30019, 0.21756, 0.41404),
        (0.29944, 0.22198, 0.42151),
        (0.29878, 0.22656, 0.42904),
        (0.29822, 0.23122, 0.4366),
        (0.29778, 0.23599, 0.44419),
        (0.29745, 0.24085, 0.45179),
        (0.29721, 0.24582, 0.45941),
        (0.29708, 0.2509, 0.46703),
        (0.29704, 0.25603, 0.47465),
        (0.2971, 0.26127, 0.48225),
        (0.29726, 0.26658, 0.48983),
        (0.2975, 0.27194, 0.4974),
        (0.29784, 0.27741, 0.50493),
        (0.29828, 0.28292, 0.51242),
        (0.29881, 0.28847, 0.51987),
        (0.29943, 0.29408, 0.52728),
        (0.30012, 0.29976, 0.53463),
        (0.3009, 0.30548, 0.54191),
        (0.30176, 0.31122, 0.54915),
        (0.30271, 0.317, 0.5563),
        (0.30373, 0.32283, 0.56339),
        (0.30483, 0.32866, 0.5704),
        (0.30601, 0.33454, 0.57733),
        (0.30722, 0.34042, 0.58418),
        (0.30853, 0.34631, 0.59095),
        (0.30989, 0.35224, 0.59763),
        (0.3113, 0.35817, 0.60423),
        (0.31277, 0.3641, 0.61073),
        (0.31431, 0.37005, 0.61715),
        (0.3159, 0.376, 0.62347),
        (0.31752, 0.38195, 0.62969),
        (0.3192, 0.3879, 0.63583),
        (0.32092, 0.39385, 0.64188),
        (0.32268, 0.39979, 0.64783),
        (0.32446, 0.40575, 0.6537),
        (0.3263, 0.41168, 0.65948),
        (0.32817, 0.41763, 0.66517),
        (0.33008, 0.42355, 0.67079),
        (0.33201, 0.4295, 0.67632),
        (0.33398, 0.43544, 0.68176),
        (0.33596, 0.44137, 0.68715),
        (0.33798, 0.44731, 0.69246),
        (0.34003, 0.45327, 0.69769),
        (0.3421, 0.45923, 0.70288),
        (0.34419, 0.4652, 0.70799),
        (0.34631, 0.4712, 0.71306),
        (0.34847, 0.4772, 0.71808),
        (0.35064, 0.48323, 0.72305),
        (0.35283, 0.48928, 0.72798),
        (0.35506, 0.49537, 0.73288),
        (0.3573, 0.50149, 0.73773),
        (0.35955, 0.50763, 0.74256),
        (0.36185, 0.51381, 0.74736),
        (0.36414, 0.52001, 0.75213),
        (0.36649, 0.52627, 0.75689),
        (0.36884, 0.53256, 0.76162),
        (0.37119, 0.53889, 0.76633),
        (0.37359, 0.54525, 0.77103),
        (0.376, 0.55166, 0.77571),
        (0.37842, 0.55809, 0.78037),
        (0.38087, 0.56458, 0.78503),
        (0.38333, 0.5711, 0.78966),
        (0.38579, 0.57766, 0.79429),
        (0.38828, 0.58426, 0.7989),
        (0.39078, 0.59088, 0.8035),
        (0.39329, 0.59755, 0.8081),
        (0.39582, 0.60426, 0.81268),
        (0.39835, 0.61099, 0.81725),
        (0.4009, 0.61774, 0.82182),
        (0.40344, 0.62454, 0.82637),
        (0.406, 0.63137, 0.83092),
        (0.40856, 0.63822, 0.83546),
        (0.41114, 0.6451, 0.83999),
        (0.41372, 0.65202, 0.84451),
        (0.41631, 0.65896, 0.84903),
        (0.4189, 0.66593, 0.85354),
        (0.42149, 0.67294, 0.85805),
        (0.4241, 0.67996, 0.86256),
        (0.42671, 0.68702, 0.86705),
        (0.42932, 0.69411, 0.87156),
        (0.43195, 0.70123, 0.87606),
        (0.43457, 0.70839, 0.88056),
        (0.4372, 0.71557, 0.88506),
        (0.43983, 0.72278, 0.88956),
        (0.44248, 0.73004, 0.89407),
        (0.44512, 0.73732, 0.89858),
        (0.44776, 0.74464, 0.9031),
        (0.45042, 0.752, 0.90763),
        (0.45308, 0.75939, 0.91216),
        (0.45574, 0.76682, 0.9167),
        (0.45841, 0.77429, 0.92124),
        (0.46109, 0.78181, 0.9258),
        (0.46377, 0.78936, 0.93036),
        (0.46645, 0.79694, 0.93494),
        (0.46914, 0.80458, 0.93952),
        (0.47183, 0.81224, 0.94412),
        (0.47453, 0.81995, 0.94872),
        (0.47721, 0.8277, 0.95334),
        (0.47992, 0.83549, 0.95796),
        (0.48261, 0.84331, 0.96259),
        (0.4853, 0.85117, 0.96722),
        (0.48801, 0.85906, 0.97186),
        (0.49071, 0.86699, 0.97651),
        (0.49339, 0.87495, 0.98116),
        (0.49607, 0.88294, 0.98581),
        (0.49877, 0.89096, 0.99047),
        (0.50144, 0.89901, 0.99512),
        (0.50411, 0.90708, 0.99978),
    ],
)
