code: def get_major_ticks(self, numticks=None):
      ticks = maxis.XAxis.get_major_ticks(self, numticks)
      for t in ticks:
          t.tick1line.set_transform(self.axes.transData)
          t.tick2line.set_transform(self.axes.transData)
          t.gridline.set_transform(self.axes.transData)
          t.label1.set_transform(self.axes.transData)
          t.label2.set_transform(self.axes.transData)
      return ticks
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import math
  import copy
  from matplotlib import lines, axis, patches
  from matplotlib import rcParams
  from .None import art3d
  from .None import proj3d
  import numpy
label_desc: Use image node_id 4 for calling the Axis obj's underlying member method code with example usage: obj.get_major_ticks(numticks) and returns: ticks