def __init__(self, axes, loc, label,<EOL>size   = None,  <EOL>gridOn = None, <EOL>tick1On = True,<EOL>tick2On = True,<EOL>label1On = True,<EOL>label2On = False,<EOL>major = True,<EOL>):
artist.Artist.__init__(self)<EOL>if gridOn is None: gridOn = rcParams['<STR_LIT>']<EOL>self.set_figure(axes.figure)<EOL>self.axes = axes<EOL>name = self.__name__.lower()<EOL>if size is None:<EOL><INDENT>if major:<EOL><INDENT>size = rcParams['<STR_LIT>'%name]<EOL>pad = rcParams['<STR_LIT>'%name]<EOL><DEDENT>else:<EOL><INDENT>size = rcParams['<STR_LIT>'%name]<EOL>pad = rcParams['<STR_LIT>'%name]<EOL><DEDENT><DEDENT>self._tickdir = rcParams['<STR_LIT>'%name]<EOL>if self._tickdir == '<STR_LIT>':<EOL><INDENT>self._xtickmarkers = (mlines.TICKUP, mlines.TICKDOWN)<EOL>self._ytickmarkers = (mlines.TICKRIGHT, mlines.TICKLEFT)<EOL>self._pad = pad<EOL><DEDENT>else:<EOL><INDENT>self._xtickmarkers = (mlines.TICKDOWN, mlines.TICKUP)<EOL>self._ytickmarkers = (mlines.TICKLEFT, mlines.TICKRIGHT)<EOL>self._pad = pad + size<EOL><DEDENT>self._loc = loc<EOL>self._size = size<EOL>self.tick1line = self._get_tick1line()<EOL>self.tick2line = self._get_tick2line()<EOL>self.gridline = self._get_gridline()<EOL>self.label1 = self._get_text1()<EOL>self.label = self.label1  <EOL>self.label2 = self._get_text2()<EOL>self.gridOn = gridOn<EOL>self.tick1On = tick1On<EOL>self.tick2On = tick2On<EOL>self.label1On = label1On<EOL>self.label2On = label2On<EOL>self.update_position(loc)<EOL>
bbox is the Bound2D bounding box in display coords of the Axes
loc is the tick location in data coords
size is the tick size in relative, axes coords