Python Matplotlib Colorbar Not Working Due To Garbage Collection

Python Matplotlib Colorbar Not Working Due To Garbage Collection