class_docstr: Nudge points
  
  Useful to nudge labels away from the points
  being labels.
  
  Parameters
  ----------
  x :
      Horizontal nudge
  y :
      Vertical nudge
code: def compute_layer(cls, data, params, layout):
      trans_x = None  # pyright: ignore
      trans_y = None  # pyright: ignore
  
      if params["x"]:
  
          def trans_x(x: FloatArrayLike) -> FloatArray:
              return x + params["x"]
  
      if params["y"]:
  
          def trans_y(y: FloatArrayLike) -> FloatArray:
              return y + params["y"]
  
      return cls.transform_position(data, trans_x, trans_y)
  
imports: from __future__ import annotations
  import typing
  from .position import position
label_desc: Use image node_id 2 for calling the position_nudge obj's underlying member method code with example usage: obj.compute_layer(cls, data, params, layout) and returns: cls, unknown, unknown