From: <md...@us...> - 2008-06-27 13:33:50
|
Revision: 5687 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5687&view=rev Author: mdboom Date: 2008-06-27 06:33:33 -0700 (Fri, 27 Jun 2008) Log Message: ----------- Add information about numpy copies. Add suggested replacement for offset_copy(). Modified Paths: -------------- trunk/matplotlib/API_CHANGES Modified: trunk/matplotlib/API_CHANGES =================================================================== --- trunk/matplotlib/API_CHANGES 2008-06-27 13:31:53 UTC (rev 5686) +++ trunk/matplotlib/API_CHANGES 2008-06-27 13:33:33 UTC (rev 5687) @@ -55,6 +55,11 @@ See transforms.py for a description of the design of the new transformation framework. + For efficiency, many of these functions return views into Numpy + arrays. This means that if you hold on to a reference to them, + their contents may change. If you want to store a snapshot of + their current values, use the Numpy array method copy(). + The view intervals are now stored only in one place -- in the Axes instance, not in the formatter instances as well. This means formatters must get their limits from their Axis, which in turn @@ -122,6 +127,8 @@ Transform.inverse_xy_tup(points) Transform.inverted().transform(points) + offset_copy(trans, x, y) trans + Affine2D().translate(x, y) + axes.py Axes.get_position() Axes.get_position() [Axes.get_position() used to return a list of points, not it This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |