8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47a8d2f commit 29cdff1Copy full SHA for 29cdff1
lib/matplotlib/__init__.py
@@ -1200,10 +1200,8 @@ def is_interactive():
1200
def _init_tests():
1201
# The version of FreeType to install locally for running the
1202
# tests. This must match the value in `setupext.py`
1203
- if sys.platform.startswith('win'< 66FB /span>) and platform.machine() == 'ARM64':
1204
- LOCAL_FREETYPE_VERSION = '2.11.1'
1205
- else:
1206
- LOCAL_FREETYPE_VERSION = '2.6.1'
+ win_arm64 = sys.platform.startswith('win') and platform.machine() == 'ARM64'
+ LOCAL_FREETYPE_VERSION = '2.11.1' if win_arm64 else '2.6.1'
1207
1208
from matplotlib import ft2font
1209
if (ft2font.__freetype_version__ != LOCAL_FREETYPE_VERSION or
0 commit comments