Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 73cb918

Browse filesBrowse files
committed
Few cleanups
1 parent 365801d commit 73cb918
Copy full SHA for 73cb918

File tree

1 file changed

+0
-3
lines changed
Filter options

1 file changed

+0
-3
lines changed

‎lib/matplotlib/backends/backend_pdf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_pdf.py
-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.