code: def fitfunc(p, x):
      return p[0] + p[1] * (x ** p[2])
  
file_path: scattertext/scattertext/smoothing/power_law.py
imports: import numpy
  from scipy.optimize import leastsq
label_desc: Use image node_id 1 for calling a global function with example usage: fitfunc(p, x) and returns: unknown