We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
import shap import numpy as np shap.plots.bar({ "t1": shap.Explanation( values=np.random.randn(20, 5), base_values=0.5, ), "t2": shap.Explanation( values=np.random.randn(20, 5), base_values=0.5, ), })
Run the above code snippet, an UnboundLocalError is thrown
No error is thrown
The image above was with shap 0.41.0, but issue is reproducible with master (f77a5ae) as well.
The text was updated successfully, but these errors were encountered:
thatlittleboy
Successfully merging a pull request may close this issue.
Bug report checklist
Minimal Reproducible Example
Issue Description
Run the above code snippet, an UnboundLocalError is thrown
Expected Behavior
No error is thrown
Installed Versions
The image above was with shap 0.41.0, but issue is reproducible with master (f77a5ae) as well.
The text was updated successfully, but these errors were encountered: