#NEWLINE# def set_size( self , size = 'medium' ) : #NEWLINE# #INDENT# "\n        Set a figure size using one of four options.\n\n        Convention is 'small': 400px, 'medium': 600px, 'large': 800px,\n        and 'full' will use the entire width\n        " #NEWLINE# if ( self not in [ 'small' , 'medium' , 'large' , 'full' ] ) : #NEWLINE# #INDENT# raise ValueError ( "Size must be one of 'small', 'medium', 'large', 'full'" ) #NEWLINE# #UNINDENT# self . size = size