class_docstr: Collection of vertex patches for plotting.
  
  This class takes additional keyword arguments compared to PatchCollection:
  
  @param vertex_builder: A list of vertex builders to construct the visual
      vertices. This is updated if the size of the vertices is changed.
  @param size_callback: A function to be triggered after vertex sizes are
      changed. Typically this redraws the edges.
class_docstr_tok: ["Collection","of","vertex","patches","for","plotting",".","This","class","takes","additional","keyword","arguments","compared","to","PatchCollection",":","@","param","vertex_builder",":","A","list","of","vertex","builders","to","construct","the","visual","vertices",".","This","is","updated","if","the","size","of","the","vertices","is","changed",".","@","param","size_callback",":","A","function","to","be","triggered","after","vertex","sizes","are","changed",".","Typically","this","redraws","the","edges","."]
docstr: Get vertex sizes.
  
  If width and height are unequal, get the largest of the two.
  
  @return: An array of vertex sizes.
docstr_tok: ["Get","vertex","sizes",".","If","width","and","height","are","unequal",",","get","the","largest","of","the","two",".","@","return",":","An","array","of","vertex","sizes","."]
code: def get_size(self):
      """Get vertex sizes.
  
      If width and height are unequal, get the largest of the two.
  
      @return: An array of vertex sizes.
      """
      import numpy as np
  
      sizes = []
      for path in self.get_paths():
          bbox = path.get_extents()
          mins, maxs = bbox.min, bbox.max
          width, height = maxs - mins
          size = max(width, height)
          sizes.append(size)
      return np.array(sizes)
  
imports: from math import pi
  from igraph.drawing.baseclasses import AbstractVertexDrawer
  from igraph.drawing.metamagic import AttributeCollectorBase
  from igraph.drawing.shapes import ShapeDrawerDirectory
  from igraph.drawing.matplotlib.utils import find_matplotlib
  from igraph.drawing.utils import FakeModule
label_desc: Use image node_id 3 for calling the VertexCollection obj's underlying member method code with example usage: obj.get_size() and returns: np