shap icon indicating copy to clipboard operation
shap copied to clipboard

wrong aliases in plotting function

Open simsta1 opened this issue 4 years ago • 1 comments

the function of waterfall plot throws an error if the parameter show=False is set. It looks like the aliases where mixed up with import matplotlib.pyplot as pl but later in the code the alias plt was used.

`# Minimum code example

shap.plots.waterfall(shap_values, max_display=15, show=False) fig, ax = plt.gcf(), plt.gca() labelsy = ax.axes.get_yticklabels() ax.set_yticklabels(labels=labelsy, fontdict={"size":16})`

simsta1 avatar Feb 14 '22 09:02 simsta1

This issue has been inactive for two years, so it's been automatically marked as 'stale'.

We value your input! If this issue is still relevant, please leave a comment below. This will remove the 'stale' label and keep it open.

If there's no activity in the next 90 days the issue will be closed.

github-actions[bot] avatar Feb 18 '24 02:02 github-actions[bot]

This issue has been automatically closed due to lack of recent activity.

Your input is important to us! Please feel free to open a new issue if the problem persists or becomes relevant again.

github-actions[bot] avatar May 18 '24 02:05 github-actions[bot]