Skip to content

Restore variable selection with ArviZ 1.x - #356

Open
rpinho wants to merge 1 commit into
dfm:mainfrom
rpinho:fix-arviz-selection
Open

rpinho wants to merge 1 commit into
dfm:mainfrom
rpinho:fix-arviz-selection

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026

Copy link
Copy Markdown

With ArviZ 1.x, corner.corner(data, var_names=["~theta"]) raises an error, and passing a string can select variables by its characters. The compatibility fallback omits exclusion handling and string normalization. Import the selection helper from arviz_base.utils, where ArviZ moved it, while retaining the import for ArviZ versions below 1.0. Tests check selection against the medians of the input draws for exclusions, strings, filters and ordering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant