#NEWLINE# def init_artists( self , ax , plot_args , plot_kwargs ) : #NEWLINE# #INDENT# ( l , r , b , t ) = plot_kwargs [ 'extent' ] #NEWLINE# ax . set_aspect ( ( float ( ( r - l ) ) / ( t - b ) ) ) #NEWLINE# handles = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# annotations = plot_kwargs . pop ( 'annotations' , None ) #NEWLINE# handles [ 'artist' ] = ax . imshow ( * plot_args , ** plot_kwargs ) #NEWLINE# if ( self . show_values and annotations ) : #NEWLINE# #INDENT# handles [ 'annotations' ] = self . _annotate_plot ( ax , annotations ) #NEWLINE# #UNINDENT# return handles