matplotlib/matplotlib — pull request #2683 by JamesMakela (2013-12-14 00:40:10+00:00)
Title: Close a figure with a type long or uuid figure number

If it is possible to create a figure using a figure number that is a type long or a type UUID, then it stands to reason that you should be able to close the figure using that same figure number.