code: def _show_legend(ax):
      """Utility function to show legend."""
      leg = ax.legend(
          loc=1,
          shadow=True,
          fancybox=True,
          labelspacing=0.2,
          borderpad=0.15,
      )
      ltext = leg.get_texts()
      llines = leg.get_lines()
      frame = leg.get_frame()
  
      from matplotlib.artist import setp
  
      setp(ltext, fontsize="small")
      setp(llines, linewidth=1)
  
file_path: statsmodels/statsmodels/graphics/boxplots.py
imports: import numpy
  from scipy.stats import gaussian_kde
  from .None import utils
label_desc: Use image node_id 6 for calling a global function with example usage: _show_legend(ax) without return types