ó ù)°Uc@s÷dZddlZddlZddlmZddlZddljZddl j Z ddl m Z e ƒZd„Zd„ZejdZe jƒZx eD]ZedZe eZd ekreeƒe e RGBA mapping. Handles normalization and colormapping cCsƒtjdƒ|_|dkr*tƒ}n|dkrEtjƒ}nd|_||_t|ƒ|_ d|_ it 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 callbacksSMRR#Rt Normalizet_AtnormR tcolorbartFalset update_dict(tselfR+R ((s@/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cm.pyt__init__s      cCs||f|_dS(s8set the colorbar image and axes associated with mappableN(R,(R/timtax((s@/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cm.pyt set_colorbar scCs›|dkrd}n|}y/|jdkrI|jddkrì|jtjkrntj|dtjƒ}n|jd \}}tjd||dfd|jƒ}||dd…dd…dd…f<||dd…dd…dfsB            ,   &