code: def _setup_axis(
      ax, x_range, col_name=None, grid=False, ylabelsize=None, yrot=None
  ):
      """Setup the axis for the joyplot:
      - add the y label if required (as an ytick)
      - add y grid if required
      - make the background transparent
      - set the xlim according to the x_range
      - hide the xaxis and the spines
      """
      if col_name is not None:
          ax.set_yticks([0])
          ax.set_yticklabels(
              [col_name], fontsize=ylabelsize, rotation=yrot
          )
          ax.yaxis.grid(grid)
      else:
          ax.yaxis.set_visible(False)
      ax.patch.set_alpha(0)
      ax.set_xlim([min(x_range), max(x_range)])
      ax.tick_params(axis="both", which="both", length=0, pad=10)
      ax.xaxis.set_visible(_DEBUG)
      ax.set_frame_on(_DEBUG)
  
file_path: joypy/joypy/joyplot.py
imports: import numpy
  from scipy.stats import gaussian_kde
  import scipy.stats
  import warnings
  from pandas import DataFrame, Series
  from pandas.core.dtypes.common import is_number
  from pandas.core.groupby import DataFrameGroupBy
  from matplotlib import pyplot
  from warnings import warn
label_desc: Use image node_id 2 for calling a global function with example usage: _setup_axis(ax, x_range, col_name, grid, ylabelsize, yrot) without return types