From 14a75b7ee0d17858bac43a0ecc97e07cdbccbccb Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Tue, 6 Dec 2022 12:42:05 +0100 Subject: [PATCH] Fix that font files never pass the test on Win --- lib/matplotlib/font_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py index 57f21b79c85c..c775a09136d6 100644 --- a/lib/matplotlib/font_manager.py +++ b/lib/matplotlib/font_manager.py @@ -189,7 +189,7 @@ def list_fonts(directory, extensions): if sys.platform == 'win32' and directory == win32FontDirectory(): return [os.path.join(directory, filename) for filename in os.listdir(directory) - if os.path.isfile(filename)] + if os.path.isfile(os.path.join(directory, filename))] else: return [os.path.join(dirpath, filename) # os.walk ignores access errors, unlike Path.glob. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy