|
From: <lee...@us...> - 2010-07-13 16:39:46
|
Revision: 8541
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8541&view=rev
Author: leejjoon
Date: 2010-07-13 16:39:40 +0000 (Tue, 13 Jul 2010)
Log Message:
-----------
Text.draw uses _set_gc_clip to set clip property
Modified Paths:
--------------
branches/v1_0_maint/lib/matplotlib/text.py
Modified: branches/v1_0_maint/lib/matplotlib/text.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/text.py 2010-07-11 02:29:08 UTC (rev 8540)
+++ branches/v1_0_maint/lib/matplotlib/text.py 2010-07-13 16:39:40 UTC (rev 8541)
@@ -541,8 +541,7 @@
gc.set_foreground(self.get_color())
gc.set_alpha(self.get_alpha())
gc.set_url(self._url)
- if self.get_clip_on():
- gc.set_clip_rectangle(self.clipbox)
+ self._set_gc_clip(gc)
if self._bbox:
bbox_artist(self, renderer, self._bbox)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|