Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

increase xlabel font size matplotlib

from matplotlib import pyplot as plt    

fig = plt.figure()
plt.plot(data)
fig.suptitle('test title', fontsize=20)
plt.xlabel('xlabel', fontsize=18)
plt.ylabel('ylabel', fontsize=16)
fig.savefig('test.jpg')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #increase #xlabel #font #size #matplotlib
ADD COMMENT
Topic
Name
2+5 =