Answers for "plt.subplot title"

4

matplotlib subplots title

fig.suptitle('This is a somewhat long figure title', fontsize=16)
Posted by: Guest on April-05-2020
0

subplots titles

ax[i].title.set_text('First Plot')
plt.show()
Posted by: Guest on June-29-2020
1

title subplot

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()
Posted by: Guest on March-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language