def get_minor_ticks(self, numticks=None):
if numticks is None:<EOL><INDENT>numticks = len(self.get_minor_locator()())<EOL><DEDENT>if len(self.minorTicks) < numticks:<EOL><INDENT>for i in range(numticks - len(self.minorTicks)):<EOL><INDENT>tick = self._get_tick(major=False)<EOL>self.minorTicks.append(tick)<EOL><DEDENT><DEDENT>if self._lastNumMinorTicks < numticks:<EOL><INDENT>protoTick = self.minorTicks[<NUM_LIT:0>]<EOL>for i in range(self._lastNumMinorTicks, len(self.minorTicks)):<EOL><INDENT>tick = self.minorTicks[i]<EOL>if self._gridOnMinor: tick.gridOn = True<EOL>self._copy_tick_props(protoTick, tick)<EOL><DEDENT><DEDENT>self._lastNumMinorTicks = numticks<EOL>ticks = self.minorTicks[:numticks]<EOL>return ticks<EOL>
get the minor tick instances; grow as necessary