Skip to content

Commit

Permalink
apply ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-vignal committed Oct 8, 2024
1 parent 318617c commit 3afcb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shapash/explainer/smart_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def contribution_plot(
else:
feature_values = self._explainer.x_init.loc[list_ind, col_name]

if self.explainer.x_init[col_name].dtype == 'bool':
if self.explainer.x_init[col_name].dtype == "bool":
feature_values = feature_values.astype(int)

if col_is_group:
Expand Down

0 comments on commit 3afcb93

Please sign in to comment.