MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_file

Method set_file

lib/matplotlib/font_manager.py:1053–1058  ·  view source on GitHub ↗

Set the filename of the fontfile to use. In this case, all other properties will be ignored.

(self, file)

Source from the content-addressed store, hash-verified

1051 self._size = size
1052
1053 def set_file(self, file):
1054 """
1055 Set the filename of the fontfile to use. In this case, all
1056 other properties will be ignored.
1057 """
1058 self._file = os.fspath(file) if file is not None else None
1059
1060 def set_fontconfig_pattern(self, pattern):
1061 """

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected