docstr: Convert axis data interval to datetime objects.
docstr_tok: ["Convert","axis","data","interval","to","datetime","objects","."]
code: def datalim_to_dt(self):
      """
      Convert axis data interval to datetime objects.
      """
      dmin, dmax = self.axis.get_data_interval()
      if dmin > dmax:
          dmin, dmax = dmax, dmin
  
      return (
          _idx2dt(dmin, self._dates, self.tz),
          _idx2dt(dmax, self._dates, self.tz),
      )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import datetime
  import warnings
  from matplotlib.dates import AutoDateLocator
  from matplotlib.dates import RRuleLocator
  from matplotlib.dates import AutoDateFormatter
  from matplotlib.dates import HOURS_PER_DAY, MIN_PER_HOUR, SEC_PER_MIN, MONTHS_PER_YEAR, DAYS_PER_WEEK, SEC_PER_HOUR, SEC_PER_DAY, num2date, rrulewrapper, YearLocator, MicrosecondLocator
  from dateutil.relativedelta import relativedelta
  import numpy
label_desc: Use image node_id 2 for calling the AutoDateLocator obj's underlying member method code with example usage: obj.datalim_to_dt() and returns: _idx2dt,  _idx2dt