Lattices Lattices is a package for the construction of lattices from a set of nodes and an (partial) ordering relation. Drawing Lattices can draw Hasse diagrams with matplotlib: pip install lattices[plotting]