'Converts the view interval to datetime objects.'

def viewlim_to_dt(self):

    (vmin, vmax) = self.axis.get_view_interval()
    if (vmin > vmax):
        (vmin, vmax) = (vmax, vmin)
    return (num2date(vmin, self.tz), num2date(vmax, self.tz))
