8000 DOC FIX default value for xticks_rotation in plot_confusion_matrix (#… · scikit-learn/scikit-learn@43827c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43827c9

Browse files
shivamgargsyaglemaitre
authored andcommitted
DOC FIX default value for xticks_rotation in plot_confusion_matrix (#15890)
1 parent 6478e4b commit 43827c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/metrics/_plot/confusion_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def plot(self, include_values=True, cmap='viridis',
5656
Colormap recognized by matplotlib.
5757
5858
xticks_rotation : {'vertical', 'horizontal'} or float, \
59-
default='vertical'
59+
default='horizontal'
6060
Rotation of xtick labels.
6161
6262
values_format : str, default=None
@@ -160,7 +160,7 @@ def plot_confusion_matrix(estimator, X, y_true, labels=None,
160160
Includes values in confusion matrix.
161161
162162
xticks_rotation : {'vertical', 'horizontal'} or float, \
163-
default='vertical'
163+
default='horizontal'
164164
Rotation of xtick labels.
165165
166166
values_format : str, default=None

0 commit comments

Comments
 (0)
0