Skip to content

Commit

Permalink
start x-axis at the origin of coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kleine committed Nov 6, 2024
1 parent 105dc36 commit 1099739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlxtend/evaluate/time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ 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.set_xlim(0, len(X))
ax.xaxis.set_major_locator(MaxNLocator(integer=True))
ax.set_xlabel(xlabel="Sample index", fontsize=13)
ax.set_ylabel(ylabel="CV iteration", fontsize=13)
Expand Down

0 comments on commit 1099739

Please sign in to comment.