#NEWLINE# def grid( self , rows , cols ) : #NEWLINE# #INDENT# '\n        Create a grid for sub plotting within the window.\n\n        Parameters\n        ----------\n\n        rows: int.\n              Number of rows in the grid.\n\n        cols: int.\n              Number of columns in the grid.\n\n        ' #NEWLINE# safe_call ( backend . get ( ) . af_grid ( self . _wnd , ct . c_int ( rows ) , ct . c_int ( cols ) ) )