rc_configurator.fill

rc_configurator.fill(props, cache=True)[source]

Returns a dictionary filled with rc settings, used internally to build dictionaries for updating Artist instances.

Parameters
  • props (dict-like) – Dictionary whose values are names of rc settings. The values are replaced with the corresponding property only if __getitem__ does not return None. Otherwise, that key, value pair is omitted from the output dictionary.

  • cache (bool, optional) – If False, the __getitem__ mode is temporarily set to 0 (see context). Otherwise, if an rc lookup returns None, the setting is omitted from the output dictionary.