Skip to content

Commit

Permalink
removed redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kleine committed Nov 6, 2024
1 parent f4dfbb2 commit 105dc36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mlxtend/evaluate/time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,12 @@ def plot_split_indices(cv, cv_args, X, y, groups, n_splits, image_file_path=None
)

ax.set_title("{}\n{}".format(type(cv).__name__, cv_args), fontsize=15)
ax.xaxis.set_major_locator(MaxNLocator(min_n_ticks=len(X), integer=True))
ax.xaxis.set_major_locator(MaxNLocator(integer=True))
ax.set_xlabel(xlabel="Sample index", fontsize=13)
ax.set_ylabel(ylabel="CV iteration", fontsize=13)
ax.tick_params(axis="both", which="major", labelsize=13)
ax.tick_params(axis="both", which="minor", labelsize=13)

ax.xaxis.set_major_locator(MaxNLocator(integer=True))

plt.tight_layout()

if image_file_path:
Expand Down

0 comments on commit 105dc36

Please sign in to comment.