File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1144,8 +1144,8 @@ def plot_confusion_matrix(
11441144 title_fontsize = 18 ,
11451145 value_fontsize = 10 ,
11461146 tick_fontsize = 12 ,
1147- xtick_rotation = 0 ,
1148- ytick_rotation = 90 ,
1147+ xtick_rotation = None ,
1148+ ytick_rotation = None ,
11491149 normalize = True ,
11501150 cmap = None ,
11511151 title = True ,
@@ -1170,9 +1170,9 @@ def plot_confusion_matrix(
11701170 The font size of the text annotations and the colorbar tick labels.
11711171 tick_fontsize : int, optional, default: 12
11721172 The font size of the axis label and model name texts.
1173- xtick_rotation: int, optional, default: 0
1173+ xtick_rotation: int, optional, default: None
11741174 Rotation of x-axis tick labels (helps with long model names).
1175- ytick_rotation: int, optional, default: 90
1175+ ytick_rotation: int, optional, default: None
11761176 Rotation of y-axis tick labels (helps with long model names).
11771177 normalize : bool, optional, default: True
11781178 A flag for normalization of the confusion matrix.
@@ -1234,7 +1234,6 @@ def plot_confusion_matrix(
12341234 ax .set_title ("Confusion Matrix" , fontsize = title_fontsize )
12351235 return fig
12361236
1237-
12381237def plot_mmd_hypothesis_test (
12391238 mmd_null ,
12401239 mmd_observed = None ,
You can’t perform that action at this time.
0 commit comments