rc_configurator.update

rc_configurator.update(*args, **kwargs)[source]

Update several settings at once with a dictionary and/or keyword arguments.

Parameters
  • *args (str, dict, or (str, dict), optional) – A dictionary containing rc keys and values. You can also pass a “category” name as the first argument, in which case all settings are prepended with 'category.'. For example, rc.update('axes', labelsize=20, titlesize=20) changes the rc[‘axes.labelsize’] and rc[‘axes.titlesize’] properties.

  • **kwargs, optionalrc keys and values passed as keyword arguments. If the name has dots, simply omit them.