Skip to content

Commit

Permalink
Fix bug in plotting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Semmler committed Jan 5, 2024
1 parent d783385 commit a0edd6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/re_classwise_shapley/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def plot_threshold_characteristics(
idx = np.argwhere(np.max(dataset_df.values, axis=1) >= max_plotting_percentage)[
-1, 0
]
dataset_df.iloc[:idx].plot_threshold_characteristics(ax=ax[dataset_idx])
dataset_df.iloc[:idx].plot(ax=ax[dataset_idx])
ax[dataset_idx].set_xlim(0, dataset_df.index[idx])
ax[dataset_idx].set_title(f"({chr(97 + dataset_idx)}) {dataset_name}")

Expand Down

0 comments on commit a0edd6b

Please sign in to comment.