2808 explained code solutions for 75 technologies


python-matplotlibHow to change font size of chart title


import matplotlib.pyplot as plt

plt.plot([2,1,3])
plt.title('hello big', fontsize=20)
plt.show()ctrl + c
import matplotlib.pyplot as plt

loads Matplotlib module to use plotting capabilities

title

set chart title

hello big

text to use as title

fontsize

set chart title font size

.show()

render chart in a separate window