-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Incorporate categorical labels in plots/summary #1182
Comments
Hi, you can use the
This will show the labels like it happens in |
Thanks @OriolAbril - all working now, though in my example it was My issue here was finding out how to do this. As far as I can tell this functionality only appears in that one cookbook example because most examples are based on an arviz dataset where all the labels are already correct. It would be great if there were some info on this in the InferenceData docs. |
We would like to have a notebook for every converter function to cover these aspects, however this will probably take some time. In the meantime, how does adding a link to the cookbook in the API section of each converter sound? Also in InferenceData docs. I would not add it directly to InferenceData docs, because it is not recommended to create InferenceData objects directly using the And thanks for opening the issue, we really value feedback on documentation. |
The notebook sounds like a good idea, but I appreciate this is a lot of time and work. I agree that this doesn't really belong in the Thanks for taking the comments on board! All my interactions with you guys have been 💯! |
I have been doing some tweaks to the docs, |
Great, Thanks @OriolAbril. Think this can probably be closed now? |
I'm using arviz in conjunction with pymc3 fitting a model with categorical variables. When using arviz to view/plot variables the names associated with the categories are replaced by their integer values, making information harder to interpret. It would be nice if there were a way to restore meaningful category names, perhaps during creation of the InferenceData object?
For example,
plot_forest
:It would be nice if there a way to re-incorporate the category labels lost through having to provide the categories as integers (
gender.codes
)The text was updated successfully, but these errors were encountered: