In my view, plot_confusion_matrix() could be improved if:
- There was the ability to show the coefficients of the normalised confusion matrix in addition to or instead of the absolute confusion matrix coefficients.
- The full range of the provided colormap was used (rather than the use of alpha to make the text legible)
- It was possible to show a colorbar
- The default size depended on the number of classes
I've written an extension to this function which can accomplish these things and am following the quick contributor checklist to submit for comment/review.. :)
Examples:

In my view,
plot_confusion_matrix()could be improved if:I've written an extension to this function which can accomplish these things and am following the quick contributor checklist to submit for comment/review.. :)
Examples: