code: def set_line_width(self, width=1.):
          
          width = float(width)
          if width < 0:
              raise RuntimeError('Cannot have width < 0')
          self.glir.command('FUNC', 'glLineWidth', width)
docs: Set line width
      
          Parameters
          ----------
          width : float
              The line width.