matplotlib.pyplot.rcdefaults#
- matplotlib.pyplot.rcdefaults()[源代码][源代码]#
恢复 Matplotlib 内部默认样式的
rcParams
。样式黑名单中的
rcParams`(定义在 ``matplotlib.style.core.STYLE_BLACKLIST`
中)不会被更新。参见
matplotlib.rc_file_defaults
从 Matplotlib 最初加载的 rc 文件中恢复
rcParams
。matplotlib.style.use
使用特定样式文件。调用
style.use('default')
以恢复默认样式。
注释
备注
这等同于
matplotlib.rcdefaults
。