#NEWLINE# def test_grid_plot( qtbot ) : #NEWLINE# #INDENT# view = View ( layout = 'grid' , shape = ( 1 , 2 ) ) #NEWLINE# ( n_plots , n_samples ) = ( 5 , 50 ) #NEWLINE# x = _get_linear_x ( n_plots , n_samples ) #NEWLINE# y = np . random . randn ( n_plots , n_samples ) #NEWLINE# view [ ( 0 , 0 ) ] . plot ( x , y ) #NEWLINE# view [ ( 0 , 1 ) ] . plot ( x , y , color = np . random . uniform ( 0.5 , 0.8 , size = ( n_plots , 4 ) ) ) #NEWLINE# _show ( qtbot , view )