pymks/tools.py
def _set_colors():
    """
    Helper function used to set the color map.
    """
    HighRGB = np.array([26, 152, 80]) / 255.
    MediumRGB = np.array([255, 255, 191]) / 255.
    LowRGB = np.array([0, 0, 0]) / 255.
    cdict = _set_cdict(HighRGB, MediumRGB, LowRGB)
    plt.register_cmap(name='PyMKS', data=cdict)
    plt.set_cmap('PyMKS')

    Helper function used to set the color map.
    
Helper function used to set the color map.
Helper function used to set the color map .
def _set_colors():
    HighRGB = np.array([26, 152, 80]) / 255.
    MediumRGB = np.array([255, 255, 191]) / 255.
    LowRGB = np.array([0, 0, 0]) / 255.
    cdict = _set_cdict(HighRGB, MediumRGB, LowRGB)
    plt.register_cmap(name='PyMKS', data=cdict)
    plt.set_cmap('PyMKS')
def _set_colors ( ) : HighRGB = np . array ( [ 26 , 152 , 80 ] ) / 255. MediumRGB = np . array ( [ 255 , 255 , 191 ] ) / 255. LowRGB = np . array ( [ 0 , 0 , 0 ] ) / 255. cdict = _set_cdict ( HighRGB , MediumRGB , LowRGB ) plt . register_cmap ( name = 'PyMKS' , data = cdict ) plt . set_cmap ( 'PyMKS' )
Helper function used to set the color map.
Helper function used to set the color map .
"""
    Helper function used to set the color map.
    """