We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa06dae commit 484fe03Copy full SHA for 484fe03
lib/matplotlib/text.py
@@ -784,15 +784,14 @@ def draw(self, renderer):
784
textobj._fontproperties, angle,
785
ismath=ismath, mtext=mtext)
786
else:
787
- textrenderer = renderer
788
if textobj.get_usetex():
789
- textrenderer.draw_tex(gc, x, y, clean_line,
790
- textobj._fontproperties, angle,
791
- mtext=mtext)
+ renderer.draw_tex(gc, x, y, clean_line,
+ textobj._fontproperties, angle,
+ mtext=mtext)
792
793
- textrenderer.draw_text(gc, x, y, clean_line,
794
795
- ismath=ismath, mtext=mtext)
+ renderer.draw_text(gc, x, y, clean_line,
+ ismath=ismath, mtext=mtext)
796
797
gc.restore()
798
renderer.close_group('text')
0 commit comments