#NEWLINE# def reconfigure( self , panimage , width , height ) : #NEWLINE# #INDENT# self . logger . debug ( ( 'new pan image dimensions are %dx%d' % ( width , height ) ) ) #NEWLINE# panimage . zoom_fit ( ) #NEWLINE# panimage . redraw ( whence = 0 ) #NEWLINE# return True