#NEWLINE# def setup( self , n_samples , method ) : #NEWLINE# #INDENT# r_samples = ( method / 2.0 ) #NEWLINE# self . x = np . arange ( ( - r_samples ) , r_samples , 0.25 ) #NEWLINE# self . y = np . arange ( ( - r_samples ) , r_samples , 0.25 ) #NEWLINE# ( self . xx , self . yy ) = np . meshgrid ( self . x , self . y ) #NEWLINE# self . z = np . sin ( ( ( self . xx ** 2 ) + ( self . yy ** 2 ) ) )