Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The True label displays abnormal #103

Open
geeeekDing opened this issue Jul 6, 2019 · 2 comments
Open

The True label displays abnormal #103

geeeekDing opened this issue Jul 6, 2019 · 2 comments

Comments

@geeeekDing
Copy link

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

@lugq1990
Copy link
Contributor

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.

@rbange
Copy link

rbange commented Jul 12, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants