Revision: 8846
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8846&view=rev
Author:   leejjoon
Date:     2010-12-29 02:43:08 +0000 (Wed, 29 Dec 2010)

Log Message:
-----------
revocer the negative coordinates support of annotation

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-12-21 16:28:00 UTC (rev 
8845)
+++ branches/v1_0_maint/lib/matplotlib/text.py  2010-12-29 02:43:08 UTC (rev 
8846)
@@ -1443,6 +1443,9 @@
             y = float(self.convert_yunits(y))
 
 
+        if s in ['axes points', 'axes pixel', 'figure points', 'figure pixel']:
+                 return self._get_xy_legacy(renderer, x, y, s)
+
         tr = self._get_xy_transform(renderer, s)
         x1, y1 = tr.transform_point((x, y))
         return x1, y1


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to