From: <lee...@us...> - 2009-05-04 20:14:41
|
Revision: 7083 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7083&view=rev Author: leejjoon Date: 2009-05-04 20:14:40 +0000 (Mon, 04 May 2009) Log Message: ----------- Merged revisions 7082 via svnmerge from https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_5_maint ........ r7082 | leejjoon | 2009-05-04 16:05:57 -0400 (Mon, 04 May 2009) | 2 lines Fix bug that Text.Annotation is still drawn while set to not visible ........ Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/lib/matplotlib/text.py Property Changed: ---------------- trunk/matplotlib/ Property changes on: trunk/matplotlib ___________________________________________________________________ Modified: svnmerge-integrated - /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7080 + /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7082 Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2009-05-04 20:05:57 UTC (rev 7082) +++ trunk/matplotlib/CHANGELOG 2009-05-04 20:14:40 UTC (rev 7083) @@ -1,4 +1,7 @@ ====================================================================== +2009-05-04 Fix bug that Text.Annotation is still drawn while set to + not visible.-JJL + 2009-05-04 Added TJ's fill_betweenx patch - JDH 2009-05-02 Added options to plotfile based on question from Modified: trunk/matplotlib/lib/matplotlib/text.py =================================================================== --- trunk/matplotlib/lib/matplotlib/text.py 2009-05-04 20:05:57 UTC (rev 7082) +++ trunk/matplotlib/lib/matplotlib/text.py 2009-05-04 20:14:40 UTC (rev 7083) @@ -1612,6 +1612,11 @@ """ Draw the :class:`Annotation` object to the given *renderer*. """ + + if renderer is not None: + self._renderer = renderer + if not self.get_visible(): return + self.update_positions(renderer) self.update_bbox_position_size(renderer) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |