updated python3 matplotlib build script