import matplotlib.pyplot as plt
X1, Y1 = range(0, 7), [61, 45, 27, 88, 47, 56, 61]
X2, Y2 = range(0, 7), [17, 39, 46, 40, 27, 35, 41]
labels = list("ABCDEFG")
fig = plt.figure()

ax1 = fig.add_subplot(2, 1, 1, facecolor = "cyan")
ax1.bar(X1, Y1, color = "b", tick_label = labels)
ax1.set_title("snake")

ax2 = fig.add_subplot(2, 1, 2, facecolor = "cyan")
ax2.bar(X2, Y2, color = "g", tick_label = labels)
ax2.set_title("fish")
plt.tight_layout()
plt.show()
