Skip to content

Commit

Permalink
Merge pull request #1573 from pwuertz/fix_1572
Browse files Browse the repository at this point in the history
fix issue #1572 caused by PR #1081
  • Loading branch information
pwuertz committed Dec 10, 2012
2 parents b77afc6 + 44bd697 commit 2ccc3ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/matplotlib/text.py
Expand Up @@ -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)
Expand All @@ -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,
Expand Down

0 comments on commit 2ccc3ba

Please sign in to comment.