• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
yjyoon / Choropleth_Chart_Function star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB 1
  • Files
  • Commit
  • Branches
Choropleth_Chart_Functionfont_names.py
Download as .zip file
File name
Commit message
Commit date
map
missing files
2023-06-13
README.md
choroplethfunction added
2023-06-13
choropleth.py
missing files
2023-06-13
font_names.py
missing files
2023-06-13
test.py
forget the example data
2023-06-14
juni 2023-06-13 9255fbc missing files UNIX
Raw Open in browser Change history
import matplotlib.font_manager from PIL import ImageFont # Iterate over all font files known to matplotlib for filename in matplotlib.font_manager.findSystemFonts(): # Avoid these two trouble makers - don't know why they are problematic if "Emoji" not in filename and "18030" not in filename: # Look up what PIL knows about the font font = ImageFont.FreeTypeFont(filename) name, weight = font.getname() print(f'File: {filename}, fontname: {name}, weight: {weight}')

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up