code: def plot_1d(test, argname, ax, label=None):
      x_axis = test.args[argname]
      y_axis = test.times
      ax.plot(x_axis, y_axis, label=label)
      if is_multiplicative(x_axis):
          ax.set_xscale("log", base=(x_axis[1] / x_axis[0]))
          ax.xaxis.set_major_formatter(plt.ScalarFormatter())
      ax.legend()
      ax.set_xlabel(argname)
      ax.set_ylabel("rows/sec")
  
file_path: arrow/cpp/src/arrow/acero/hash_join_graphs.py
imports: import math
  import sys
  import json
  import matplotlib.pyplot
  import seaborn
label_desc: Use image node_id 5 for calling a global function with example usage: plot_1d(test, argname, ax, label) without return types