"rc"是什么意思?在matplotlib的rcParams中代表什么? [英] What does "rc" in matplotlib's rcParams stand for?

查看:244
本文介绍了"rc"是什么意思?在matplotlib的rcParams中代表什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

matplotlibrc 配置文件用于自定义 matplotlib 中的各种属性.可以更改 rc 设置以自定义默认参数,例如:

matplotlibrc configuration files are used to customize all kinds of properties in matplotlib. One can change the rc settings to customize the default parameters e.g:

matplotlib.rcParams['font.family'] = 'times new roman'

...,但是" rc "又是什么?代表?

... but what does "rc" stand for?

文档

推荐答案

在'rc'中结束配置文件很常见-例如'.xinitrc','.vimrc'和'.bashrc'.

It's common to end configuration files in 'rc' - e.g. '.xinitrc', '.vimrc' and '.bashrc'.

这是出于使您的配置具有可执行性的惯例-它们在启动时会自动 R 取消,并且它们会 C 配置您的内容.

It stems from practice of having your configs executable - they are automatically Run at startup and they Configure your stuff.

此操作开始于很久以前,甚至早于Unix:

This started long ago, even before Unix:

[Unix:通过启动脚本/etc/rc从CTSS系统1962-63上的runco​​m文件中获取]脚本文件,其中包含针对应用程序(或整个操作系统)的启动指令,通常是一个文本文件,其中包含以下命令:该类型可能是在系统运行后手动调用的,但每次系统启动时都会自动执行.

[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.

这篇关于"rc"是什么意思?在matplotlib的rcParams中代表什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆