Open geeeekDing opened 5 years ago
As for plot_confusion_matrix
has one parameter that could control the size of the plot, you could change the figsize
parameter to change the size to fit your desktop(with tuple type like: (12, 8)). I just guess that is caused by the fitting problem with the computer. Have a try.
Hi together,
i experienced the same bug when upgrading matplotlib from 3.1.0
to 3.1.1
.
I also tried the figsize
parameter without any difference, so I installed 3.1.0
and the aspect ratios were fine again. Definitely a bug in matplotlib==3.1.1
.
Dear developer, when i used your function metrics.plot_confusion_matrix I obtain the following result, The true label looks a little ugly. How to do can I fix it? Thanks