-
-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integrate index_origin rcParam #984
Comments
@OriolAbril Can I work on this issue? |
@Shashankjain12 Definitely! |
I'm not sure if The selection function still needs this. |
So, @ahartikainen is the |
You can work to fix |
Ok thanks @ahartikainen 👍 |
So, @OriolAbril and @ahartikainen we need to change summary function index_origin parameter to rc_params data.index_orign default parameter instead of None for now and also change the value of data.index_origin in defaultParams in rcparams to 1 instead of 0 over there |
Therefore summary does not need to be modified.
We want to keep 0 as the default, to follow Python indexation, and internally we will always used 0 indexed values. The option to use 1 as index origin is a visualization aid for users analyzing Stan or Julia generated samples. In these cases, their model would use 4 chains: If you feel up to it you can work on the |
Tell us about it
In some cases, users may prefer to visualize the results using 1 indexed values instead of python's 0 indexed ones. Part of #792.
Thoughts on implementation
The
summary
function already has anindex_origin
argument, but does not use the rcParam value as default. Moreover, the labels used for plots should also be updated to allow 1 indexed visualization (they all callmake_label
andselection_to_string
).#981 is also related to this.
The text was updated successfully, but these errors were encountered: