'Get the transformation used for drawing x-axis labels, which
will add the given amount of padding (in points) between the
axes and the label.  The x-direction is in data coordinates
and the y-direction is in axis coordinates.  Returns a
3-tuple of the form::
(transform, valign, halign)
where *valign* and *halign* are requested alignments for the
text.
.. note::
This transformation is primarily used by the
:class:`~matplotlib.axis.Axis` class, and is meant to be
overridden by new kinds of projections that may need to
place axis elements in different locations.'

def get_xaxis_text1_transform(self, pad_points):

    labels_align = matplotlib.rcParams[u'xtick.alignment']
    return ((self.get_xaxis_transform(which=u'tick1') + mtransforms.ScaledTranslation(0, (((-1) * pad_points) / 72.0), self.figure.dpi_scale_trans)), u'top', labels_align)
