'Set the ticks position (top, bottom, both, default or none)
both sets the ticks to appear on both positions, but does not
change the tick labels.  \'default\' resets the tick positions to
the default: ticks on both positions, labels at bottom.  \'none\'
can be used if you don\'t want any ticks. \'none\' and \'both\'
affect only the ticks, not the labels.
ACCEPTS: [ \'top\' | \'bottom\' | \'both\' | \'default\' | \'none\' ]'

def set_ticks_position(self, position):

    if (position == u'top'):
        self.set_tick_params(which=u'both', top=True, labeltop=True, bottom=False, labelbottom=False)
    elif (position == u'bottom'):
        self.set_tick_params(which=u'both', top=False, labeltop=False, bottom=True, labelbottom=True)
    elif (position == u'both'):
        self.set_tick_params(which=u'both', top=True, bottom=True)
    elif (position == u'none'):
        self.set_tick_params(which=u'both', top=False, bottom=False)
    elif (position == u'default'):
        self.set_tick_params(which=u'both', top=True, labeltop=False, bottom=True, labelbottom=True)
    else:
        raise ValueError((u'invalid    position:    %s' % position))
    self.stale = True
