#NEWLINE# def __init__( self , x = None , y = None , ncol = None , nrow = None , scales = 'free' ) : #NEWLINE# #INDENT# if ( ( x is None ) and ( y is None ) ) : #NEWLINE# #INDENT# raise GgplotError ( "You need to specify a variable name: facet_wrap('var')" ) #NEWLINE# #UNINDENT# add_ggplotrc_params ( self ) #NEWLINE# self . x = x #NEWLINE# self . y = y #NEWLINE# self . ncol = nrow #NEWLINE# self . nrow = nrow #NEWLINE# self . scales = scales