update matplotlib
pip install --upgrade matplotlib
pip install matplotlib --latest
pip upgrade matplotlib