matplotlib.pyplot.rcdefaults#
- matplotlib.pyplot.rcdefaults()[source]#
将
rcParams
恢复到 Matplotlib 内部的默认样式。样式黑名单中的
rcParams
(定义在matplotlib.style.core.STYLE_BLACKLIST
中) 不会被更新。另请参阅
matplotlib.rc_file_defaults
将
rcParams
恢复到 Matplotlib 最初加载的 rc 文件中的默认值。matplotlib.style.use
使用特定的样式文件。调用
style.use('default')
可恢复默认样式。
备注
注意
这等同于
matplotlib.rcdefaults
。