from numpy import array
from circpacker.basegeom import Polygon
from circpacker.packer import CircPacking
coordinates = array([[1, 1], [2, 5], [4.5, 6], [8, 3], [7, 1],
                     [4, 0]])
polygon = Polygon(coordinates)
boundCoords = polygon.boundCoords
CircPack = CircPacking(boundCoords, depth=10)
CircPack.plot(plotTriMesh=True)