#NEWLINE# def _set_norm( self , mode ) : #NEWLINE# #INDENT# ' Use the `ContrastMouseMode` to adjust the transfer function ' #NEWLINE# ( clip_lo , clip_hi ) = mode . get_clip_percentile ( ) #NEWLINE# ( vmin , vmax ) = mode . get_vmin_vmax ( ) #NEWLINE# stretch = mode . stretch #NEWLINE# return self . client . set_norm ( clip_lo = clip_lo , clip_hi = clip_hi , stretch = stretch , vmin = vmin , vmax = vmax , bias = mode . bias , contrast = mode . contrast )