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

Skip to content

Commit a13c202

Browse files
committed
Remove dead code
1 parent 37cf8e4 commit a13c202

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/matplotlib/backends/backend_svg.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -481,14 +481,6 @@ def _make_id(self, type, content):
481481
def _make_flip_transform(self, transform):
482482
return transform + Affine2D().scale(1, -1).translate(0, self.height)
483483

484-
def _get_font(self, prop):
485-
fname = fm.findfont(prop)
486-
font = fm.get_font(fname)
487-
font.clear()
488-
size = prop.get_size_in_points()
489-
font.set_size(size, 72.0)
490-
return font
491-
492484
def _get_hatch(self, gc, rgbFace):
493485
"""
494486
Create a new hatch pattern

0 commit comments

Comments
 (0)