code: def matplotlib_kwarg_dealiaser(args, kind):
      """De-aliase the kwargs passed to plots."""
      if args is None:
          return {}
      matplotlib_kwarg_dealiaser_dict = {
          "scatter": mpl.collections.PathCollection,
          "plot": mpl.lines.Line2D,
          "hist": mpl.patches.Patch,
          "bar": mpl.patches.Rectangle,
          "hexbin": mpl.collections.PolyCollection,
          "fill_between": mpl.collections.PolyCollection,
          "hlines": mpl.collections.LineCollection,
          "text": mpl.text.Text,
          "contour": mpl.contour.ContourSet,
          "pcolormesh": mpl.collections.QuadMesh,
      }
      return normalize_kwargs(
          args,
          getattr(
              matplotlib_kwarg_dealiaser_dict[kind], "_alias_map", {}
          ),
      )
  
imports: import matplotlib
  from matplotlib.cbook import normalize_kwargs
  from matplotlib.pyplot import subplots
  from numpy import ndenumerate
  from ....rcparams import rcParams
  from .autocorrplot import plot_autocorr
  from .bpvplot import plot_bpv
  from .compareplot import plot_compare
  from .densityplot import plot_density
  from .distplot import plot_dist
  from .elpdplot import plot_elpd
  from .energyplot import plot_energy
  from .essplot import plot_ess
  from .forestplot import plot_forest
  from .hdiplot import plot_hdi
  from .kdeplot import plot_kde
  from .khatplot import plot_khat
  from .loopitplot import plot_loo_pit
  from .mcseplot import plot_mcse
  from .pairplot import plot_pair
  from .parallelplot import plot_parallel
  from .posteriorplot import plot_posterior
  from .ppcplot import plot_ppc
  from .rankplot import plot_rank
  from .traceplot import plot_trace
  from .violinplot import plot_violin
label_desc: Use image node_id 4 for calling a global function with example usage: matplotlib_kwarg_dealiaser(args, kind) and returns: normalize_kwargs, dict