class_docstr: Internal helper for `~.grid_helper_curvelinear.GridHelperCurveLinear`, with
  the same constructor parameters; should not be directly instantiated.
class_docstr_tok: ["Internal","helper","for","`","~.grid_helper_curvelinear.GridHelperCurveLinear","`",",","with","the","same","constructor","parameters",";","should","not","be","directly","instantiated","."]
code: def set_transform(self, aux_trans):
      if isinstance(aux_trans, Transform):
          self._aux_transform = aux_trans
      elif len(aux_trans) == 2 and all(map(callable, aux_trans)):
          self._aux_transform = _User2DTransform(*aux_trans)
      else:
          raise TypeError(
              "'aux_trans' must be either a Transform "
              "instance or a pair of callables"
          )
  
imports: import numpy
  from matplotlib import ticker
  from matplotlib.transforms import Bbox, Transform
label_desc: Use image node_id 5 for calling the GridFinder obj's underlying member method code with example usage: obj.set_transform(aux_trans) without return types