scikit-plot icon indicating copy to clipboard operation
scikit-plot copied to clipboard

The True label displays abnormal

Open geeeekDing opened this issue 6 years ago • 2 comments

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

bug

geeeekDing avatar Jul 06 '19 08:07 geeeekDing

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.

lugq1990 avatar Jul 10 '19 08:07 lugq1990

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.

rbange avatar Jul 12 '19 13:07 rbange