Just as an alternative solution, you can disable the matplotlib font manager logger.
logging.getLogger('matplotlib.font_manager').disabled = True
Or you can just suppress the DEBUG messages but not the others from that logger.
logging.getLogger('matplotlib.font_manager').setLevel(logging.ERROR)