Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 96dcd5f

Browse files
committed
Remove unused lines of code.
svn path=/trunk/matplotlib/; revision=3500
1 parent c8ae4e2 commit 96dcd5f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/matplotlib/backends/backend_svg.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,18 +255,14 @@ def draw_text(self, gc, x, y, s, prop, angle, ismath):
255255

256256
cmap = font.get_charmap()
257257
lastgind = None
258-
lines = []
259258
currx = 0
260259
for c in s:
261260
charid = self._add_char_def(prop, c)
262261
ccode = ord(c)
263262
gind = cmap.get(ccode)
264263
if gind is None:
265264
ccode = ord('?')
266-
name = '.notdef'
267265
gind = 0
268-
else:
269-
name = font.get_glyph_name(gind)
270266
glyph = font.load_char(ccode)
271267

272268
if lastgind is not None:

0 commit comments

Comments
 (0)