code: def configure_plt(fontsize=12):
      rc(
          "font",
          **{
              "family": "sans-serif",
              "sans-serif": ["Computer Modern Roman"],
          },
      )
      usetex = matplotlib.checkdep_usetex(True)
      params = {
          "axes.labelsize": fontsize,
          "font.size": fontsize,
          "legend.fontsize": fontsize,
          "xtick.labelsize": fontsize - 2,
          "ytick.labelsize": fontsize - 2,
          "text.usetex": usetex,
          "figure.figsize": (8, 6),
      }
      plt.rcParams.update(params)
  
      sns.set_palette("colorblind")
      sns.set_style("ticks")
  
imports: import matplotlib
  import matplotlib.pyplot
  import seaborn
  from matplotlib import rc
label_desc: Use image node_id 1 for calling a global function with example usage: configure_plt(fontsize) without return types