code: def print_maps(map_type=None, number=None):
      
      if not map_type and not number:
          print_all_maps()
  
      elif map_type:
          print_maps_by_type(map_type, number)
  
      else:
          s = ('Invalid parameter combination. '
               'number without map_type is not supported.')
          raise ValueError(s)
docs: Print maps by type and/or number of defined colors.
  
      Parameters
      ----------
      map_type : {'Sequential', 'Diverging', 'Qualitative'}, optional
          Filter output by map type. By default all maps are printed.
      number : int, optional
          Filter output by number of defined colors. By default there is
          no numeric filtering.