#NEWLINE# def stretch( self , scale_factor , callback = True ) : #NEWLINE# #INDENT# 'Stretch the color map via altering the shift map.\n        ' #NEWLINE# self . scale_pct *= scale_factor #NEWLINE# self . scale_and_shift ( scale_factor . scale_pct , 0.0 , callback = callback )