You can control the placement of subheadings with plt.subplots_adjust. In this case, the corresponding parameter for setting is - top.
, y suptitle 1 ( - > 1 ). y , subplots_adjust.
, , tight_layout , subplots_adjust tight_layout, , , .
( left, right bottom subplots_adjust tight_layout).
script ( ):
import matplotlib.pyplot as plt
plt.figure(figsize=(10,5))
name='mdot'
time='918.0'
plt.suptitle("Scatterplot "+str(name)+" , "+r'$\Delta$'+"Output , Zeit= "+str(time)+" s",fontsize=20)
for i in [1,2,3,4]:
ax=plt.subplot(2,2,i)
plt.tight_layout()
plt.subplots_adjust(top=0.88)
plt.savefig('example.png')
