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

Skip to content

Commit 9cac73a

Browse files
committed
MNT: keep win32InstalledFonts public
and make _win32RegistryFonts private
1 parent b02905a commit 9cac73a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/font_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def win32FontDirectory():
171171
return os.path.join(os.environ['WINDIR'], 'Fonts')
172172

173173

174-
def win32RegistryFonts(reg_domain, base_dir):
174+
def _win32RegistryFonts(reg_domain, base_dir):
175175
r"""
176176
Searches for fonts in the Windows registry.
177177
@@ -223,7 +223,7 @@ def win32RegistryFonts(reg_domain, base_dir):
223223
return items
224224

225225

226-
def _win32InstalledFonts(directory=None, fontext='ttf'):
226+
def win32InstalledFonts(directory=None, fontext='ttf'):
227227
"""
228228
Search for fonts in the specified font directory, or use the
229229
system directories if none given. Additionally, it is searched for user

0 commit comments

Comments
 (0)