code: def _process_dimension_kwargs(direction, kwargs):
      
      acceptable_keys = ['unit', 'pad', 'lim', 'label']
      # if direction in ['s']:
          # acceptable_keys += ['mode']
      processed_kwargs = {}
      for k,v in kwargs.items():
          if k.startswith(direction):
              processed_key = k.lstrip(direction)
          else:
              processed_key = k
  
          if processed_key in acceptable_keys:
              processed_kwargs[processed_key] = v
  
      return processed_kwargs
docs: process kwargs for AxDimension instances by stripping off the prefix
      for the appropriate direction