Configurator.category(cat, *, trimcat=True, context=False)[source]

Return a dictionary of settings beginning with the substring cat + '.'. Optionally limit the search to the context level.

  • cat (str, optional) – The rc setting category.

  • trimcat (bool, optional) – Whether to trim cat from the key names in the output dictionary. Default is True.

  • context (bool, optional) – If True, then each category setting that is not found in the context mode dictionaries is omitted from the output dictionary. See context.