code: def _decorate_axis(ax, wrect=10, hrect=10, ticklabelsize="large"):
      """Helper function for decorating plots."""
      # Hide the right and top spines
      ax.spines["right"].set_visible(False)
      ax.spines["top"].set_visible(False)
      ax.spines["left"].set_linewidth(2)
      ax.spines["bottom"].set_linewidth(2)
      # Deal with ticks and the blank space at the origin
      ax.tick_params(length=0.1, width=0.1, labelsize=ticklabelsize)
      ax.spines["left"].set_position(("outward", hrect))
      ax.spines["bottom"].set_position(("outward", wrect))
      return ax
  
file_path: rliable/rliable/plot_utils.py
imports: import matplotlib.pyplot
  import numpy
  import seaborn
label_desc: Use image node_id 2 for calling a global function with example usage: _decorate_axis(ax, wrect, hrect, ticklabelsize) and returns: ax