What's Changed
This release contains a number of bug fixes and improvements.
Following the [NEP 29 deprecation policy](https://numpy.org/neps/nep-0029-deprecation_policy.html), this release drops support for python 3.7.
Breaking changes
* Removed the deprecated Boston dataset by thatlittleboy in https://github.com/shap/shap/pull/3316
* The shape of `Explanation.base_values` has been standardised between different TreeExplainer models to always be of shape `(N,)` and not `(N,1)`. By thatlittleboy in https://github.com/shap/shap/pull/3121
Added
* Added additivity check to Pytorch DeepExplainer (activated by default) by noxthot in https://github.com/shap/shap/pull/3265
* Added flag to allow the printing of the mean SHAP value in the legend of a multi-output bar plot. By 101AlexMartin in https://github.com/shap/shap/pull/3062
* Added heatmap and violin plot to top-level API by connortann in https://github.com/shap/shap/pull/3157
* Replaced all tqdm imports with tqdm.auto by owenlamont in https://github.com/shap/shap/pull/3199
Fixed
* Fixed segmentation faults on MacOS with lightgbm tests (with newer libomp versions) by thatlittleboy in https://github.com/shap/shap/pull/3093
* Support LightGBM ensemble containing single leaf trees (stump) by thatlittleboy in https://github.com/shap/shap/pull/3094
* Fixed conversion DataFrame to ndarray for Explanation.data by danieleongari in https://github.com/shap/shap/pull/3131
* Fixed waterfall plot on explanations of sklearn tree models by connortann in https://github.com/shap/shap/pull/3138
* Fixed pandas input for gradient explainer by Koen-Git in https://github.com/shap/shap/pull/3153
* Fixed slicing of `feature_names` in Explanation objects with square `.values` by thatlittleboy in https://github.com/shap/shap/pull/3126
* Correct xlim in force_matplotlib in cases where the signs of force are all the same by zaburo-ch in https://github.com/shap/shap/pull/2839
* Fixed ngboost explanations when col_sample < 1 by CloseChoice in https://github.com/shap/shap/pull/3294
* Fixed torch additivity check in PyTorch DeepExplainer by noxthot in https://github.com/shap/shap/pull/3281
* Replaced print statements with warnings in DeepExplainer by znacer in https://github.com/shap/shap/pull/3264
* Replace deprecated `register_backward_hook()` by noxthot in https://github.com/shap/shap/pull/3259
* Fixed deprecated use of xgboost early_stopping_rounds by CloseChoice in https://github.com/shap/shap/pull/3306
* Fixed 3rd party deprecation warnings: numba, xgboost, typing, distutils by connortann in https://github.com/shap/shap/pull/3084
* Updated the Javascript bundle to update deprecated dependencies by connortann in https://github.com/shap/shap/pull/2974
There have also been a large number of improvements to the tutorials and examples, by connortann, znacer, arshiaar, thatlittleboy, dsgibbons, owenlamont and CloseChoice
New Contributors
* 101AlexMartin made their first contribution in https://github.com/shap/shap/pull/3062
* znacer made their first contribution in https://github.com/shap/shap/pull/3112
* danieleongari made their first contribution in https://github.com/shap/shap/pull/3131
* Koen-Git made their first contribution in https://github.com/shap/shap/pull/3153
* pre-commit-ci made their first contribution in https://github.com/shap/shap/pull/3173
* owenlamont made their first contribution in https://github.com/shap/shap/pull/3199
* arshiaar made their first contribution in https://github.com/shap/shap/pull/3201
* dsgibbons made their first contribution in https://github.com/shap/shap/pull/3200
* noxthot made their first contribution in https://github.com/shap/shap/pull/3265
* zaburo-ch made their first contribution in https://github.com/shap/shap/pull/2839
* CloseChoice made their first contribution in https://github.com/shap/shap/pull/3282
**Full Changelog**: https://github.com/shap/shap/compare/v0.42.1...v0.43.0