Jc@sIdZddkZddkZddklZddkZddkiZddk i Z ddk l Z e ZdZeidZe iZxheD]`ZedZee eZee e RGBA mapping. Handles normalization and colormapping cCstid|_|djo t}n|djoti}nd|_||_t||_ d|_ ht d6|_ dS(s *norm* is an instance of :class:`colors.Normalize` or one of its subclasses, used to map luminance to 0-1. *cmap* is a :mod:`cm` colormap instance, for example :data:`cm.jet` tchangedtarrayN(schanged( RtCallbackRegistryt callbacksSMRRRt Normalizet_AtnormRtcolorbartFalset update_dict(tselfR'R((s3/usr/lib64/python2.6/site-packages/matplotlib/cm.pyt__init__vs      cCs||f|_dS(s8set the colorbar image and axes associated with mappableN(R((R+timtax((s3/usr/lib64/python2.6/site-packages/matplotlib/cm.pyt set_colorbarsg?c Csy:|idjo&|iddjo|itijoti|dti}n|id \}}tid||dfd|i}||ddddddf<||dddddfRARBRRERHRIRJRLRMRORPR!(((s3/usr/lib64/python2.6/site-packages/matplotlib/cm.pyR ps         ((RTtostnumpyR5Rt matplotlibRtmatplotlib.colorsRtmatplotlib.cbookRtmatplotlib._cmRtdictRR RtLUTSIZEtkeyst _cmapnamestcmapnamet cmapname_rt cmapdat_rRtlocalstupdateRRRR (((s3/usr/lib64/python2.6/site-packages/matplotlib/cm.pyts0         &