import matplotlib print(matplotlib.get_cachedir())