docstr: Set arrow widths.
  
  @param widths: A sequence of arrow widths or a single width.
docstr_tok: ["Set","arrow","widths",".","@","param","widths",":","A","sequence","of","arrow","widths","or","a","single","width","."]
code: def set_arrow_width(self, widths):
      """Set arrow widths.
  
      @param widths: A sequence of arrow widths or a single width.
      """
      try:
          iter(widths)
      except TypeError:
          widths = [widths] * len(self._paths)
      self._arrow_widths = widths
      self.stale = True
  
imports: from math import atan2, cos, pi, sin
  from igraph.drawing.baseclasses import AbstractEdgeDrawer
  from igraph.drawing.metamagic import AttributeCollectorBase
  from igraph.drawing.matplotlib.utils import find_matplotlib
  from igraph.drawing.utils import get_bezier_control_points_for_curved_edge, FakeModule
label_desc: Use image node_id 15 for calling the EdgeCollection obj's underlying member method code with example usage: obj.set_arrow_width(widths) without return types