code: def set_stroke(self, width=1, color='black'):
          
          self.attributes['stroke'] = color
          self.attributes['stroke-width'] = str(width)
docs: Sets the stroke properties.
  
          Args:
              width (int): stroke width
              color (str): stroke color