>From 08e93e5862e5c83998f5f646a748999b00102c7c Mon Sep 17 00:00:00 2001
From: Carl Worth <cworth@cworth.org>
Date: Tue, 19 Jun 2007 16:58:25 -0700
Subject: [PATCH] cairo: Re-enable clipping.

I checked both line_styles.py and simple_plot.py and neither suffers
ill effects from enabling clipping. (line_styles.py is currently having
trouble with the cairo backend on the two sub-plots using circles but
that's unrelated to the clipping.)
---
 backends/backend_cairo.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/backends/backend_cairo.py b/backends/backend_cairo.py
index 2deb469..5b5dc59 100644
--- a/backends/backend_cairo.py
+++ b/backends/backend_cairo.py
@@ -490,10 +490,7 @@ class GraphicsContextCairo(GraphicsContextBase):
         ctx.new_path()
         ctx.rectangle (x, self.renderer.height - h - y, w, h)

-        # enabline ctx.clip() causes problems:
-        # line_styles.py - only see first axes
-        # simple_plot.py - lose text
-        #ctx.clip ()
+        ctx.clip ()


     def set_dashes(self, offset, dashes):
--
1.5.2.2

