Revision: 7057
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7057&view=rev
Author: mdboom
Date: 2009-04-23 14:20:27 +0000 (Thu, 23 Apr 2009)
Log Message:
-----------
Fix clipping of images in PS backend.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backends/backend_ps.py
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_ps.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_ps.py 2009-04-21
03:12:53 UTC (rev 7056)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_ps.py 2009-04-23
14:20:27 UTC (rev 7057)
@@ -428,8 +428,8 @@
ps = []
last_points = None
if clip:
- clip = (0.0, 0.0, self.width * self.imagedpi,
- self.height * self.imagedpi)
+ clip = (0.0, 0.0, self.width * 72.0,
+ self.height * 72.0)
else:
clip = None
for points, code in path.iter_segments(transform, clip=clip):
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins