Configurator.fill

Configurator.fill(props, *, context=False)[source]

Return a dictionary filled with settings whose names match the string values in the input dictionary. Optionally limit the search to the context level.

Parameters
  • props (dict-like) – Dictionary whose values are setting names – for example rc.fill({'edgecolor': 'axes.edgecolor', 'facecolor': 'axes.facecolor'}).

  • context (bool, default: False) – If True, then settings not found in the context dictionaries are omitted from the output dictionary. See context.