Revision: 7929
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7929&view=rev
Author:   mdboom
Date:     2009-11-03 20:56:03 +0000 (Tue, 03 Nov 2009)

Log Message:
-----------
[2889193] Rasterized output offset in pdf and ps

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/backends/backend_mixed.py

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_mixed.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_mixed.py   2009-11-03 
20:55:47 UTC (rev 7928)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_mixed.py   2009-11-03 
20:56:03 UTC (rev 7929)
@@ -122,8 +122,8 @@
                 gc = self._renderer.new_gc()
                 self._renderer.draw_image(
                     gc,
-                    int(float(l)/self.dpi*72.),
-                    int((float(height) - b - h)/self.dpi*72.),
+                    float(l)/self.dpi*72.,
+                    (float(height) - b - h)/self.dpi*72.,
                     image)
             self._raster_renderer = None
             self._rasterizing = False


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to