Mocking matplotlib as it fails when compiling on RTD