I am trying to use alternatives font in matplotlib. by using font_manager, I can get things like xlabel, ylabel or title working, but I can't figure out how to change font on line label
I pick "Phosphate.ttc" font as it's easy to spot.
import matplotlib.font_manager as fm
import matplotlib.pyplot as plt
def lineChart():
my_font = fm.FontProperties(fname='/Library/Fonts/Phosphate.ttc')
day = ('1','2','3')
line1 = (10,20,30)
line2 = (30,20,10)
fig, ax = plt.subplots()
ax.plot(day, line1, label='this goes to default font')
ax.plot(day, line2, label='this is default font too')
ax.legend(loc='upper center')
plt.title('title display correct', fontproperties=my_font)
plt.xlabel('xlabel display correct', fontproperties=my_font)
plt.ylabel('ylabel display correct', fontproperties=my_font)
plt.savefig("font_test.png")
if __name__ == '__main__':
lineChart()

if there anyway to set alternatives font globally? (without install it to matplotlib module path)
or to setup line label to use alternatives font?
OS: OSX
Python: 3.6.4
matplotlib: 2.1.1
Thanks

