code: def set_font_settings_for_testing():
      mpl.rcParams["font.family"] = "DejaVu Sans"
      mpl.rcParams["text.hinting"] = "none"
      mpl.rcParams["text.hinting_factor"] = 8
  
file_path: matplotlib/lib/matplotlib/testing/__init__.py
imports: from pathlib import Path
  from tempfile import TemporaryDirectory
  import locale
  import logging
  import os
  import subprocess
  import sys
  import matplotlib
  from matplotlib import _api
label_desc: Use image node_id 1 for calling a global function with example usage: set_font_settings_for_testing() without return types