original_docstring: 
  	display a real and imaginary parts of a complex valued matrix side by side
  	
docstring: display a real and imaginary parts of a complex valued matrix side by side
docstring_tokens: display a real and imaginary parts of a complex valued matrix side by side
code: def cmat(matrix,figsize=None,cmap=None):
  	"""
  	display a real and imaginary parts of a complex valued matrix side by side
  	"""
  	if not figsize:
  		figsize = defaults['figsize']
  	if not cmap:
  		cmap = defaults['cmap']
  
  	f, (ax1, ax2) = plt.subplots(1,2,figsize=(2*figsize[0],figsize[1]))
  	imreal = ax1.imshow(matrix.real,interpolation='nearest',cmap=cmap)
  	f.colorbar(imreal,ax=ax1)
  	imimag = ax2.imshow(matrix.imag,interpolation='nearest',cmap=cmap)
  	f.colorbar(imimag,ax=ax2)
  	return f
code_tokens: def cmat ( matrix , figsize = None , cmap = None ) : if not figsize : figsize = defaults [ 'figsize' ] if not cmap : cmap = defaults [ 'cmap' ] f , ( ax1 , ax2 ) = plt . subplots ( 1 , 2 , figsize = ( 2 * figsize [ 0 ] , figsize [ 1 ] ) ) imreal = ax1 . imshow ( matrix . real , interpolation = 'nearest' , cmap = cmap ) f . colorbar ( imreal , ax = ax1 ) imimag = ax2 . imshow ( matrix . imag , interpolation = 'nearest' , cmap = cmap ) f . colorbar ( imimag , ax = ax2 ) return f
short_docstring: display a real and imaginary parts of a complex valued matrix side by side
short_docstring_tokens: display a real and imaginary parts of a complex valued matrix side by side
comment: """
  	display a real and imaginary parts of a complex valued matrix side by side
  	"""