I would like to made the bottom of the two charts have a much smaller height. I tried set_yscale(1,.5)
but it was unsucessful, looking for how to do this. Couldn't find anything in the documentation.
import matplotlib.pyplot as plt
import numpy as np
# Simple data to display in various forms
x = np.linspace(0, 2 * np.pi, 400)
y = np.sin(x ** 2)
# Two subplots, the axes array is 1-d
f, axarr = plt.subplots(2, sharex=True)
axarr[0].plot(x, y)
axarr[0].set_title('Sharing X axis')
axarr[1].scatter(x, y)
axarr[1].set_yscale(1,.5)
plt.show()