📜  更改 matploitlibrc 文件中的默认字体 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:32.745000             🧑  作者: Mango

代码示例1
''' The basic format of the file is in the form of "option : value". For example, to keep the
legend always on the right, we put:
legend.loc : right'''

''' to change the default fonts to Arial,
 search the file for fonts,then at that 
location, just add the following lines without # or ##'''.

font.family         : sans-serif
font.sans-serif     : Arial