Configurator.save¶
- Configurator.save(path=None, user=True, comment=None, backup=True, description=False)[source]¶
Save the current settings to a
proplotrcfile. This writes the default values commented out plus the values that differ from the defaults at the top of the file.- Parameters
path (path-like, optional) – The path. The default file name is
proplotrcand the default directory is the current directory.user (
bool, optional) – IfTrue(the default), the settings you changed since importing proplot are shown uncommented at the very top of the file.backup (
bool, optional) – If the file already exists and this is set toTrue, it is moved to a backup file with the suffix.bak.comment (
bool, optional) – Whether to comment out the default settings. Default is the value ofuser.description (
bool, optional) – Whether to include descriptions of each setting as comments. Default isFalse.
See also