code: def set_fontsize(self, size):
      import matplotlib as mpl
  
      old_size = mpl.rcParams["font.size"]
      mpl.rcParams["font.size"] = size
  
      def revert():
          mpl.rcParams["font.size"] = old_size
  
      self._inverse_actions.append(revert)
  
file_path: statsmodels/statsmodels/tsa/vector_ar/plotting.py
imports: from statsmodels.compat.python import lrange
  import numpy
  import statsmodels.tsa.vector_ar.util
label_desc: Use image node_id 3 for calling the MPLConfigurator obj's underlying member method code with example usage: obj.set_fontsize(size) without return types