diff --git a/cmweather/_cm.py b/cmweather/_cm.py index 3b35eed..3ade8b2 100644 --- a/cmweather/_cm.py +++ b/cmweather/_cm.py @@ -149,7 +149,7 @@ _NWS_CC_data = { - "blue": [ + 'blue': [ (0.00000000, 0.54901961, 0.54901961), (0.42857143, 0.54901961, 0.54901961), (0.43809524, 0.56209150, 0.56209150), @@ -211,9 +211,9 @@ (0.97142857, 0.74117647, 0.74117647), (0.98095238, 0.69019608, 0.69019608), (0.99047619, 0.63921569, 0.63921569), - (1.00000000, 0.58823529, 0.58823529) + (1.00000000, 0.58823529, 0.58823529), ], - "green": [ + 'green': [ (0.00000000, 0.05882353, 0.05882353), (0.42857143, 0.05882353, 0.05882353), (0.43809524, 0.05751634, 0.05751634), @@ -275,9 +275,9 @@ (0.97142857, 0.50980392, 0.50980392), (0.98095238, 0.41176471, 0.41176471), (0.99047619, 0.31372549, 0.31372549), - (1.00000000, 0.21568627, 0.21568627) + (1.00000000, 0.21568627, 0.21568627), ], - "red": [ + 'red': [ (0.00000000, 0.05882353, 0.05882353), (0.42857143, 0.05882353, 0.05882353), (0.43809524, 0.05751634, 0.05751634), @@ -339,8 +339,8 @@ (0.97142857, 0.85882353, 0.85882353), (0.98095238, 0.78823529, 0.78823529), (0.99047619, 0.71764706, 0.71764706), - (1.00000000, 0.64705882, 0.64705882) - ] + (1.00000000, 0.64705882, 0.64705882), + ], } # Colors maps from Patrick Marsh (http://www.pmarshwx.com/) @@ -2076,7 +2076,7 @@ 'NWSRef': _NWSRef_data, 'NWSVel': _NWSVel_data, 'NWS_SPW': _NWS_SPW_data, - 'NWS_CC' : _NWS_CC_data, + 'NWS_CC': _NWS_CC_data, 'RefDiff': _RefDiff_data, 'Carbone11': _Carbone11_data, 'Carbone17': _Carbone17_data, diff --git a/cmweather/_cm_colorblind.py b/cmweather/_cm_colorblind.py index 8ff7831..326beb4 100644 --- a/cmweather/_cm_colorblind.py +++ b/cmweather/_cm_colorblind.py @@ -51,7 +51,7 @@ def yuv_rainbow_24(nc): # Plasmidis colormap for radar correlation coefficient -plasmidis_rgb_vals = np.genfromtxt(os.path.join(data_dir, "plasmidis-rgb.txt")) +plasmidis_rgb_vals = np.genfromtxt(os.path.join(data_dir, 'plasmidis-rgb.txt')) # HomeyerRainbow developed by Cameron Homeyer with assistance from Bobby Jackson