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

Skip to content

Commit 9c5e817

Browse files
committed
Removing accidentally committed debugging output.
svn path=/trunk/matplotlib/; revision=3685
1 parent eac2fe0 commit 9c5e817

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

lib/matplotlib/font_manager.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -850,13 +850,6 @@ def rebuild():
850850
break
851851
verbose.report('loaded ttfcache file %s'%ttfcache)
852852

853-
def flatten(d, path):
854-
if isinstance(d, dict):
855-
for key, val in d.items():
856-
flatten(val, path + [key])
857-
elif isinstance(d, str):
858-
print path, os.path.basename(d)
859-
flatten(self.ttfdict, [])
860853
#self.ttfdict = createFontDict(self.ttffiles)
861854

862855
# Load AFM fonts for PostScript
@@ -935,14 +928,12 @@ def lookup_name(name):
935928

936929
fname = None
937930
font = fontdict
938-
print font.keys()
939931
if font.has_key(name):
940932
font = font[name]
941933
else:
942934
verbose.report('\tfindfont failed %(name)s'%locals(), 'debug')
943935
return None
944936

945-
print font.keys()
946937
if font.has_key(style):
947938
font = font[style]
948939
elif style == 'italic' and font.has_key('oblique'):

0 commit comments

Comments
 (0)