8000 update text antialiasing in backend_agg, integration test passed · matplotlib/matplotlib@ffd0cfb · GitHub
[go: up one dir, main page]

Skip to content

Commit ffd0cfb

Browse files
stevezhangstevezhang
authored andcommitted
update text antialiasing in backend_agg, integration test passed
1 parent bb51437 commit ffd0cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_agg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def draw_text(self, gc, x, y, s, prop, angle, ismath=False, mtext=None):
206206
# space) in the following call to draw_text_image).
207207
font.set_text(s, 0, flags=get_hinting_flag())
208208
font.draw_glyphs_to_bitmap(
209-
antialiased=mpl.rcPar 4E51 ams['text.antialiased'])
209+
antialiased=gc.get_antialiased())
210210
d = font.get_descent() / 64.0
211211
# The descent needs to be adjusted for the angle.
212212
xo, yo = font.get_bitmap_offset()

0 commit comments

Comments
 (0)
0