#NEWLINE# def test_grid_plot_uniform( 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 , uniform = True ) #NEWLINE# view [ ( 0 , 1 ) ] . plot ( n_plots , y , color = ( 1.0 , 1.0 , 0.0 , 0.5 ) , uniform = True ) #NEWLINE# _show ( qtbot , view )