How to set common axes labels for subplots
You can create a big subplot that covers the two subplots and then set the common labels. import random import matplotlib.pyplot as plt x = range(1, 101) y1 = [random.randint(1, 100) for _ in range(len(x))] y2 = [random.randint(1, 100) for _ in range(len(x))] fig = plt.figure() ax = fig.add_subplot(111) # The big subplot ax1 = … Read more