301
I have the following plot:
import matplotlib.pyplot as plt
fig2 = plt.figure()
ax3 = fig2.add_subplot(2,1,1)
ax4 = fig2.add_subplot(2,1,2)
ax4.loglog(x1, y1)
ax3.loglog(x2, y2)
ax3.set_ylabel('hello')
I want to create axes labels and titles that span on both subplots. For example, since both plots have identical axes, I only need one set of xlabel and ylabel. I do want different titles for each subplot though.
How can I achieve this ?