MCPcopy
hub / github.com/matplotlib/matplotlib / main

Function main

tools/subset.py:390–402  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

388
389
390def main(argv):
391 optlist, args = getopt.gnu_getopt(argv, '', [
392 'string=', 'strip_names', 'opentype-features', 'simplify', 'new',
393 'script', 'nmr', 'roundtrip', 'subset=', 'namelist', 'null', 'nd',
394 'move-display'])
395
396 font_in, font_out = args
397 opts = dict(optlist)
398 if '--string' in opts:
399 subset = map(ord, opts['--string'])
400 else:
401 subset = getsubset(opts.get('--subset', 'latin'), font_in)
402 subset_font(font_in, font_out, subset, opts)
403
404
405if __name__ == '__main__':

Callers 1

subset.pyFile · 0.70

Calls 3

getsubsetFunction · 0.85
subset_fontFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…