<s> from . scale import scale <EOL> from copy import deepcopy <EOL> class scale_x_discrete ( scale ) : <EOL> """<STR_LIT>""" <EOL> VALID_SCALES = [ '<STR_LIT:name>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> def __radd__ ( self , gg ) : <EOL> gg = deepcopy ( gg ) <EOL> if self . name : <EOL> gg . xlab = self . name <EOL> if not ( self . limits is None ) : <EOL> gg . xlimits = self . limits <EOL> if not ( self . breaks is None ) : <EOL> gg . xbreaks = self . breaks <EOL> if not ( self . labels is None ) : <EOL> gg . xtick_labels = self . labels <EOL> return gg </s>
