pymc-devs/pymc
Introduce `pm.config` or `rcParams` for global & local config settings
已关闭
#4,657 创建于 2021年4月21日
enhancementsfeature requesthelp wanted
仓库指标
- 星标
- (7,926 个星标)
- PR 合并指标
- (平均合并 11天) (30 天内合并 7 个 PR)
描述
Let me begin with saying that global variables are evil and nobody should be using them.
For things like #4372 it would be really useful to have a place where to make global config changes.
Matplotlib does it and ArviZ too.
Aesara also has a quite powerful config implementation that I refactored quite a bit a few months back.
Or maybe we don't even need/want a place for global configuration settings?
Anyways it would be great to discuss and figure out what we want!
Update 2022-03-30 + ToDo
We have a general consensus that we want to do this. (I'm updating the title+labels in a second.)
Whoever wants to work on this should
- Read this thread
- Specifically investigate the options here
- Decide which route to go for
- Open a PR