docstr: A Chord plot is always drawn on a unit circle.
docstr_tok: ["A","Chord","plot","is","always","drawn","on","a","unit","circle","."]
code: def get_extents(
      self, element, ranges, range_type="combined", **kwargs
  ):
      """
      A Chord plot is always drawn on a unit circle.
      """
      if range_type == "extents":
          return element.nodes.extents
      xdim, ydim = element.nodes.kdims[:2]
      xpad = 0.05 if self.label_index is None else 0.25
      x0, x1 = ranges[xdim.name][range_type]
      y0, y1 = ranges[ydim.name][range_type]
      xdiff = x1 - x0
      ydiff = y1 - y0
      if self.label_position == "right":
          x0, x1 = x0 - (0.05 * xdiff), x1 + xpad * xdiff
      else:
          x0, x1 = x0 - xpad * xdiff, x1 + (0.05 * xdiff)
      x0, x1 = max_range([xdim.range, (x0, x1)])
      y0, y1 = max_range(
          [ydim.range, (y0 - (0.05 * ydiff), y1 + (0.05 * ydiff))]
      )
      return (x0, y0, x1, y1)
  
file_path: holoviews/holoviews/plotting/mpl/sankey.py
imports: import param
  from matplotlib.collections import PatchCollection
  from matplotlib.patches import Rectangle
  from ...core.util import max_range
  from ...util.transform import dim
  from .graphs import GraphPlot
  from .util import filter_styles
label_desc: Use image node_id 1 for calling the SankeyPlot obj's underlying member method code with example usage: obj.get_extents(element, ranges, range_type) and returns: x0,  y0,  x1,  y1, element