class_docstr: A simple box.
class_docstr_tok: ["A","simple","box","."]
docstr: Given the location and size of the box, return the path of the box
  around it.
  
  Rotation is automatically taken care of.
  
  Parameters
  ----------
  x0, y0, width, height : float
      Box location and size.
  mutation_size : float
      Reference scale for the mutation, typically the text font size.
docstr_tok: ["Given","the","location","and","size","of","the","box",",","return","the","path","of","the","box","around","it",".","Rotation","is","automatically","taken","care","of",".","Parameters","--","--","--","--","--","x0",",","y0",",","width",",","height",":","float","Box","location","and","size",".","mutation_size",":","float","Reference","scale","for","the","mutation",",","typically","the","text","font","size","."]
code: def __call__(self, x0, y0, width, height, mutation_size):
      """
      Given the location and size of the box, return the path of the box
      around it.
  
      Rotation is automatically taken care of.
  
      Parameters
      ----------
      x0, y0, width, height : float
          Box location and size.
      mutation_size : float
          Reference scale for the mutation, typically the text font size.
      """
      # padding
      pad = mutation_size * self.pad
      # width and height with padding added
      width = width + 2.0 * pad
      height = height + 2.0 * pad
      # boundary of the padded box
      x0, y0 = x0 - pad, y0 - pad
      x1, y1 = x0 + width, y0 + height
      # return the new path
      return Path(
          [
              (x0, y0),
              (x1, y0),
              (x1, y1),
              (x0, y1),
              (x0 - pad, (y0 + y1) / 2.0),
              (x0, y0),
              (x0, y0),
          ],
          closed=True,
      )
  
imports: import matplotlib.pyplot
  from matplotlib.patches import BoxStyle
  from matplotlib.path import Path
label_desc: Use image node_id 2 for calling the MyStyle obj's underlying member method code with example usage: obj.__call__(x0, y0, width, height, mutation_size) and returns: Path