Download the fonts from https://github.com/stipub/stixfonts
dirstix = "/net2/rnd/dev/stixfonts/fonts/static_ttf"
import matplotlib.font_manager as font_manager
for font in font_manager.findSystemFonts(dirstix):
font_manager.fontManager.addfont(font)
# Set font family globally
plt.rcParams['font.family'] = 'STIX Two Text'