Answers for "xlabel font type matplotlib"

0

xlabel font type matplotlib

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

plt.title('title',**csfont)
plt.xlabel('xlabel', **hfont)
plt.show()
Posted by: Guest on April-24-2020

Python Answers by Framework

Browse Popular Code Answers by Language