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

Skip to content

Commit 73cb918

Browse files
committed
Few cleanups
1 parent 365801d commit 73cb918

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,6 @@ def __init__(self, filename, metadata=None):
692692
# differently encoded Type-1 fonts may share the same descriptor
693693
self.type1Descriptors = {}
694694
self._character_tracker = _backend_pdf_ps.CharacterTracker()
695-
# self._char_to_font = None
696695

697696
self.alphaStates = {} # maps alpha values to graphics state objects
698697
self._alpha_state_seq = (Name(f'A{i}') for i in itertools.count(1))
@@ -1929,8 +1928,6 @@ class RendererPdf(_backend_pdf_ps.RendererPDFPSBase):
19291928
def __init__(self, file, image_dpi, height, width):
19301929
super().__init__(width, height)
19311930
self.file = file
1932-
self.char_to_font = {}
1933-
self.glyph_to_font = {}
19341931
self.gc = self.new_gc()
19351932
self.image_dpi = image_dpi
19361933

0 commit comments

Comments
 (0)