Skip to content

Instantly share code, notes, and snippets.

@jeremy5189
Created March 31, 2022 03:50
Show Gist options
  • Save jeremy5189/06b6c65060bb1f2aa7591566328d226e to your computer and use it in GitHub Desktop.
Save jeremy5189/06b6c65060bb1f2aa7591566328d226e to your computer and use it in GitHub Desktop.
import matplotlib
import matplotlib.font_manager as fm
!wget http://qinghe.com.tw/fonts/Noto%20Sans%20TC/regular.ttf
fm.fontManager.ttflist += fm.createFontList(['regular.ttf'])
matplotlib.rc('font', family='Noto Sans TC')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment