From 44bd6975f7e457b8780b16fa825acf12afc1e0b1 Mon Sep 17 00:00:00 2001 From: pwuertz Date: Fri, 7 Dec 2012 06:33:57 +0100 Subject: [PATCH] fix issue #1572 caused by PR #1081 --- lib/matplotlib/text.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/text.py b/lib/matplotlib/text.py index 56b763698c63..7c10337767eb 100644 --- a/lib/matplotlib/text.py +++ b/lib/matplotlib/text.py @@ -585,8 +585,7 @@ def draw(self, renderer): if self.get_path_effects(): for path_effect in self.get_path_effects(): path_effect.draw_tex(renderer, gc, x, y, clean_line, - self._fontproperties, angle, - mtext=self) + self._fontproperties, angle) else: renderer.draw_tex(gc, x, y, clean_line, self._fontproperties, angle, mtext=self) @@ -605,7 +604,7 @@ def draw(self, renderer): for path_effect in self.get_path_effects(): path_effect.draw_text(renderer, gc, x, y, clean_line, self._fontproperties, angle, - ismath=ismath, mtext=self) + ismath=ismath) else: renderer.draw_text(gc, x, y, clean_line, self._fontproperties, angle,