docs: def get_tname(self, var, coords=None):
          """Get the name of the t-dimension
  
          This method gives the name of the time dimension
  
          Parameters
          ----------
          var: xarray.Variables
              The variable to get the dimension for
          coords: dict
              The coordinates to use for checking the axis attribute. If None,
              they are not used
  
          Returns
          -------
          str or None
              The coordinate name or None if no time coordinate could be found
  
          See Also
          --------
          get_t"""
          if coords is not None:
              coord = self.get_variable_by_axis(var, 't', coords)
              if coord is not None and coord.name in var.dims:
                  return coord.name
          dimlist = list(self.t.intersection(var.dims))
          if dimlist:
              if len(dimlist) > 1:
                  warn("Found multiple matches for t coordinate in the variable:"
                       "%s. I use %s" % (', '.join(dimlist), dimlist[0]),
                       PsyPlotRuntimeWarning)
              return dimlist[0]
          # otherwise we return None
          return None