class_docstr: Line segment parameterised by location, direction and distance
  
  {usage}
  
  Parameters
  ----------
  {common_parameters}
  
  See Also
  --------
  plotnine.geoms.geom_segment : For documentation of extra
      parameters.
code: def setup_data(self, data: pd.DataFrame) -> pd.DataFrame:
      try:
          radius = data["radius"]
      except KeyError:
          radius = self.aes_params["radius"]
      try:
          angle = data["angle"]
      except KeyError:
          angle = self.aes_params["angle"]
  
      data["xend"] = data["x"] + np.cos(angle) * radius
      data["yend"] = data["y"] + np.sin(angle) * radius
      return data
  
imports: from __future__ import annotations
  import typing
  import numpy
  from ..doctools import document
  from .geom_segment import geom_segment
label_desc: Use image node_id 1 for calling the geom_spoke obj's underlying member method code with example usage: obj.setup_data(data) and returns: data