8000 Fix typos · matplotlib/matplotlib@bf251d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf251d4

Browse files
committed
Fix typos
1 parent c2f3788 commit bf251d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

distribute_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def _rename_path(path):
285285

286286
def _remove_flat_installation(placeholder):
287287
if not os.path.isdir(placeholder):
288-
log.warn('Unkown installation at %s', placeholder)
288+
log.warn('Unknown installation at %s', placeholder)
289289
return False
290290
found = False
291291
for file in os.listdir(placeholder):

lib/matplotlib/afm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def _parse_char_metrics(fh):
192192
line = line.rstrip().decode('ascii') # Convert from byte-literal
193193
if line.startswith('EndCharMetrics'):
194194
return ascii_d, name_d
195-
# Split the metric line into a dictonary, keyed by metric identifiers
195+
# Split the metric line into a dictionary, keyed by metric identifiers
196196
vals = dict(s.strip().split(' ', 1) for s in line.split(';') if s)
197197
# There may be other metrics present, but only these are needed
198198
if not {'C', 'WX', 'N', 'B'}.issubset(vals):

0 commit comments

Comments
 (0)
0