#NEWLINE# def test_grid_hist( qtbot ) : #NEWLINE# #INDENT# view = View ( layout = 'grid' , shape = ( 3 , 3 ) ) #NEWLINE# hist = np . random . rand ( 3 , 3 , 20 ) #NEWLINE# for i in range ( 3 ) : #NEWLINE# #INDENT# for j in range ( 3 ) : #NEWLINE# #INDENT# view [ ( i , j ) ] . hist ( hist [ i , j , : ] , color = np . random . uniform ( 0.5 , 0.8 , size = 4 ) ) #NEWLINE# #UNINDENT# #UNINDENT# _show ( qtbot , view )