|
From: Eric F. <ef...@ha...> - 2012-09-07 06:43:01
|
On 2012/09/06 8:35 PM, jonasr wrote: > That seems to work, thank you. > > I would have thought that the add_patch function creates two seperate > objects independent of the defined Rectangle. add_patch doesn't create any objects; it just attaches the axes to the patch in both directions: a reference to the patch object is appended to a list of axes artists, and the patch object gets a reference to the axes. Fortunately, python has garbage collection to handle such circular references. Eric > > greets jonas |