matplotlib subplot axis label code example Example: label subplot ax.set_xlabel('common xlabel') ax.set_ylabel('common ylabel')