'Convert axis data interval to datetime objects.'

def datalim_to_dt(self):

    (dmin, dmax) = self.axis.get_data_interval()
    if (dmin > dmax):
        (dmin, dmax) = (dmax, dmin)
    return (num2date(dmin, self.tz), num2date(dmax, self.tz))
