Revision: 5912 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5912&view=rev Author: jdh2358 Date: 2008-07-28 16:42:10 +0000 (Mon, 28 Jul 2008)
Log Message: ----------- added some additional comments to axes to clarify the patch/frame relationship Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-07-28 16:37:00 UTC (rev 5911) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-07-28 16:42:10 UTC (rev 5912) @@ -1451,6 +1451,8 @@ self.apply_aspect(self.get_position(True)) + # the patch draws the background rectangle -- the frame below + # will draw the edges if self.axison and self._frameon: self.patch.draw(renderer) @@ -1506,6 +1508,9 @@ if self.legend_ is not None: artists.append(self.legend_) + # the frame draws the edges around the axes patch -- we + # decouple these so the patch can be in the background and the + # frame in the foreground. if self.axison and self._frameon: artists.append(self.frame) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins