@@ -579,31 +579,34 @@ def reversed(self, name=None):
579579        """ 
580580        Make a reversed instance of the Colormap. 
581581
582-         .. note  :: Function not implemented for base class. 
582+         .. note:: Function not implemented for base class. 
583583
584584        Parameters 
585585        ---------- 
586586        name : str, optional 
587587            The name for the reversed colormap. If it's None the 
588588            name will be the name of the parent colormap + "_r". 
589589
590-         Notes  
591-         ----- 
592-         See :meth:` LinearSegmentedColormap.reversed` and  
593-         :meth:` ListedColormap.reversed`  
590+         See Also  
591+         --------  
592+         LinearSegmentedColormap.reversed 
593+         ListedColormap.reversed 
594594        """ 
595595        raise  NotImplementedError ()
596596
597597
598598class  LinearSegmentedColormap (Colormap ):
599-     """Colormap objects based on lookup tables using linear segments. 
599+     """ 
600+     Colormap objects based on lookup tables using linear segments. 
600601
601602    The lookup table is generated using linear interpolation for each 
602603    primary color, with the 0-1 domain divided into any number of 
603604    segments. 
604605    """ 
606+ 
605607    def  __init__ (self , name , segmentdata , N = 256 , gamma = 1.0 ):
606-         """Create color map from linear mapping segments 
608+         """ 
609+         Create color map from linear mapping segments 
607610
608611        segmentdata argument is a dictionary with a red, green and blue 
609612        entries. Each entry should be a list of *x*, *y0*, *y1* tuples, 
@@ -639,15 +642,14 @@ def __init__(self, name, segmentdata, N=256, gamma=1.0):
639642
640643        Hence y0 in the first row and y1 in the last row are never used. 
641644
645+         See Also 
646+         -------- 
647+         LinearSegmentedColormap.from_list 
648+             Static method; factory function for generating a smoothly-varying 
649+             LinearSegmentedColormap. 
642650
643-         .. seealso:: 
644- 
645-                :meth:`LinearSegmentedColormap.from_list` 
646-                Static method; factory function for generating a 
647-                smoothly-varying LinearSegmentedColormap. 
648- 
649-                :func:`makeMappingArray` 
650-                For information about making a mapping array. 
651+         makeMappingArray 
652+             For information about making a mapping array. 
651653        """ 
652654        # True only if all colors in map are identical; needed for contouring. 
653655        self .monochrome  =  False 
0 commit comments