Judul Subplot Matplotlib
fig.suptitle('This is a somewhat long figure title', fontsize=16)
Tired Thrush
fig.suptitle('This is a somewhat long figure title', fontsize=16)
ax[i].title.set_text('First Plot')
plt.show()
import matplolib.pyplot as plt
for i in range(4):
plt.subplot(2,2,i+1).set_title('Subplot n°{}' .format(i+1))
plt.show()