I am trying to plot confusion matrix for mnist dataset but the plot is not fitting to the screen output that is some numbers are outside of the plot. I am posting a screenshot of the issue below.
I even tried increasing figsize but the issue persists.