From 2f49f89a8bf399a84baf05cdf4b7ea48fa1bec09 Mon Sep 17 00:00:00 2001 From: Damon McDougall Date: Thu, 11 Oct 2012 22:01:04 +0200 Subject: [PATCH] Fix typo in transforms.py --- lib/matplotlib/transforms.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/transforms.py b/lib/matplotlib/transforms.py index 065e061a8599..4c0f3d32337b 100644 --- a/lib/matplotlib/transforms.py +++ b/lib/matplotlib/transforms.py @@ -474,10 +474,9 @@ def fully_containsy(self, y): :attr:`y1`. """ y0, y1 = self.intervaly - # FIXME x is not define. This method probably doesn't work. return ((y0 < y1 - and (x > y0 and x < y1)) - or (x > y1 and x < y0)) + and (y > y0 and y < y1)) + or (y > y1 and y < y0)) def fully_contains(self, x, y): """