Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

xlabel font type matplotlib

csfont = {'fontname':'Comic Sans MS'}
hfont = {'fontname':'Helvetica'}

plt.title('title',**csfont)
plt.xlabel('xlabel', **hfont)
plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #xlabel #font #type #matplotlib
ADD COMMENT
Topic
Name
3+8 =