Revision: 5587
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5587&view=rev
Author:   mdboom
Date:     2008-06-18 10:20:40 -0700 (Wed, 18 Jun 2008)

Log Message:
-----------
Fix wx backend clipping bug.

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

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_wx.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_wx.py      2008-06-17 
21:01:29 UTC (rev 5586)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_wx.py      2008-06-18 
17:20:40 UTC (rev 5587)
@@ -283,13 +283,13 @@
         if new_bounds is not None:
             new_bounds = new_bounds.bounds
         gfx_ctx = gc.gfx_ctx
-        if True or gfx_ctx._lastcliprect != new_bounds:
+        if gfx_ctx._lastcliprect != new_bounds:
             gfx_ctx._lastcliprect = new_bounds
             if new_bounds is None:
                 gfx_ctx.ResetClip()
             else:
                 gfx_ctx.Clip(new_bounds[0], self.height - new_bounds[1] - 
new_bounds[3],
-                             new_bounds[1], new_bounds[3])
+                             new_bounds[2], new_bounds[3])
 
     [EMAIL PROTECTED]
     def convert_path(gfx_ctx, tpath):


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to