Revision: 4626
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4626&view=rev
Author:   mdboom
Date:     2007-12-05 10:56:42 -0800 (Wed, 05 Dec 2007)

Log Message:
-----------
Avoid matching widths and heights too often.

Modified Paths:
--------------
    branches/transforms/lib/matplotlib/figure.py

Modified: branches/transforms/lib/matplotlib/figure.py
===================================================================
--- branches/transforms/lib/matplotlib/figure.py        2007-12-05 18:56:18 UTC 
(rev 4625)
+++ branches/transforms/lib/matplotlib/figure.py        2007-12-05 18:56:42 UTC 
(rev 4626)
@@ -651,7 +651,7 @@
                 for size, orig, curr in zip(sizes,
                                             orig_pos.size,
                                             curr_pos.size):
-                    orig = round(orig * 100.0) / 100.0
+                    orig = round(orig * 1000.0) / 1000.0
                     if orig in size:
                         size[orig][0].append(a)
                         size[orig][1].add(curr)


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

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to