matplotlib 的 rcParams 中的 "rc" 代表什么?
What does "rc" in matplotlib's rcParams stand for?
matplotlibrc
配置文件用于自定义matplotlib
中的各种属性。可以更改 rc
设置以自定义默认参数,例如:
matplotlib.rcParams['font.family'] = 'times new roman'
...但是“rc
”代表什么?
我在the docs
中找不到任何解释
通常在 'rc' 中结束配置文件 - 例如'.xinitrc'、'.vimrc' 和 '.bashrc'。
它源于让您的配置可执行的实践 - 它们在启动时自动 Run 并且它们 C 配置您的东西。
这开始于 long ago,甚至在 Unix 之前:
[Unix: from runcom files on the CTSS system 1962-63, via the startup script /etc/rc] Script file containing startup instructions for an application program (or an entire operating system), usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up.
matplotlibrc
配置文件用于自定义matplotlib
中的各种属性。可以更改 rc
设置以自定义默认参数,例如:
matplotlib.rcParams['font.family'] = 'times new roman'
...但是“rc
”代表什么?
我在the docs
中找不到任何解释通常在 'rc' 中结束配置文件 - 例如'.xinitrc'、'.vimrc' 和 '.bashrc'。
它源于让您的配置可执行的实践 - 它们在启动时自动 Run 并且它们 C 配置您的东西。
这开始于 long ago,甚至在 Unix 之前:
[Unix: from runcom files on the CTSS system 1962-63, via the startup script /etc/rc] Script file containing startup instructions for an application program (or an entire operating system), usually a text file containing commands of the sort that might have been invoked manually once the system was running but are to be executed automatically each time the system starts up.