Revision: 8553 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8553&view=rev Author: ryanmay Date: 2010年07月15日 03:53:14 +0000 (2010年7月15日) Log Message: ----------- Fix import from _path and combine with other existing (working) import. Modified Paths: -------------- branches/py3k/lib/matplotlib/transforms.py Modified: branches/py3k/lib/matplotlib/transforms.py =================================================================== --- branches/py3k/lib/matplotlib/transforms.py 2010年07月15日 03:34:32 UTC (rev 8552) +++ branches/py3k/lib/matplotlib/transforms.py 2010年07月15日 03:53:14 UTC (rev 8553) @@ -31,7 +31,8 @@ import numpy as np from numpy import ma -from matplotlib._path import affine_transform +from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox, + update_path_extents) from numpy.linalg import inv from weakref import WeakKeyDictionary @@ -43,7 +44,6 @@ import cbook from path import Path -from _path import count_bboxes_overlapping_bbox, update_path_extents DEBUG = False if DEBUG: @@ -2304,4 +2304,3 @@ elif not units == 'inches': raise ValueError('units must be dots, points, or inches') return trans + ScaledTranslation(x, y, fig.dpi_scale_trans) - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.