import matplotlib.pylab as plt

#1
fig, ax_main = plt.subplots(nrows= 1, ncols=1)

#2
ax_inset_1 = fig.add_axes([0.6, 0.6, 0.2, 0.2])
ax_inset_2 = fig.add_axes([0.2, 0.2, 0.2, 0.2])

text_settings = {'x' : 0.5, 'y' : 0.5, 'fontsize' : 'xx-large', 
                 'horizontalalignment' : 'center'}

#3
ax_main.text(s = f'Main axis', **text_settings)
ax_inset_1.text(s = f'Inset axis 1', **text_settings)
ax_inset_2.text(s = f'Inset axis 2', **text_settings)

fig.savefig('charts/generate-insets.png')
