Skip to content Skip to sidebar Skip to footer

How To Fix Google Colab Cutting Of Plots Of Confusion Matrices

I'm trying to create a confusion matrix on google colab but once I plot it and try to save it the top and the bottom of the plot get cut off. Is there any way to fix this? %matplo

Solution 1:

Try reverting back to matplotlib 3.1.0

!pip install matplotlib==3.1.0

Or you can use the pre-release version (3.2.0rc)

!pip install --pre -U matplotlib

Post a Comment for "How To Fix Google Colab Cutting Of Plots Of Confusion Matrices"