You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in arviz-stats and arviz-plots, we have arguments that default to None, and then we set them to some value from rcParams. This is always explained in the docstring, but we could have a more self-explanatory value, maybe a string like "rcparams" or "from_rcparams". We could also use more general values like "auto", "default", or something else.
In many places, we use Defaults to rcParams["data.sample_dims"] instead of Defaults to rcParam :data:data.sample_dims. The second has the advantage that it becomes clickable when rendered to HTML. Currently, we use this inconsistently.
One issue when reading the docs directly, including reading them with an IDE, is that the actual default value is not known unless we inspect rcParams. Can we automatically populate the docstrings? What else could we do to make it easier for users?
Current problems
Currently, in arviz-stats and arviz-plots, we have arguments that default to
None, and then we set them to some value from rcParams. This is always explained in the docstring, but we could have a more self-explanatory value, maybe a string like "rcparams" or "from_rcparams". We could also use more general values like "auto", "default", or something else.In many places, we use Defaults to
rcParams["data.sample_dims"]instead of Defaults to rcParam :data:data.sample_dims. The second has the advantage that it becomes clickable when rendered to HTML. Currently, we use this inconsistently.One issue when reading the docs directly, including reading them with an IDE, is that the actual default value is not known unless we inspect rcParams. Can we automatically populate the docstrings? What else could we do to make it easier for users?