'Draw the minor ticks.'

def _draw_ticks(self, renderer, pixel_array, angle_array, offset):

    path_trans = self.get_transform()
    gc = renderer.new_gc()
    gc.set_foreground(self.get_color())
    gc.set_alpha(self.get_alpha())
    gc.set_linewidth(self.get_linewidth())
    marker_scale = Affine2D().scale(offset, offset)
    marker_rotation = Affine2D()
    marker_transform = (marker_scale + marker_rotation)
    initial_angle = (180.0 if self.get_tick_out() else 0.0)
    for axis in self.get_visible_axes():
        if (axis not in pixel_array):
            continue
        for (loc, angle) in zip(pixel_array[axis], angle_array[axis]):
            marker_rotation.rotate_deg((initial_angle + angle))
            locs = path_trans.transform_non_affine(np.array([loc, loc]))
            renderer.draw_markers(gc, self._tickvert_path, marker_transform, Path(locs), path_trans.get_affine())
            marker_rotation.clear()
    gc.restore()
