Samreay / ChainConsumer

Corner plots, LaTeX tables and plotting walks.
https://samreay.github.io/ChainConsumer
MIT License
82 stars 18 forks source link

adding "var_names" parameter to filter the variable to keep when building chain from numpyro or arviz #122

Closed renecotyfanboy closed 6 months ago

renecotyfanboy commented 6 months ago

I've added a convenience parameter in the Chain factories from_numpyro and from_arviz in the same fashion as in the arviz package. The user can either choose to keep parameters by providing a list or discard some by providing a list of parameters starting with ~.

WDYT ?

renecotyfanboy commented 6 months ago

It seems that the pre-commit hooks are not applying the same rules in the action and locally, I have no warnings about ruff formatter when running it locally. I will check this tomorrow

renecotyfanboy commented 6 months ago

This seems to be a weird issue related to an update of git itself