title: Change fontsize on y axis in barh plot from matplotlib
body: <p>I want to change the fontsize of the lable on the y axis of a horizontal barplot (i.e. make the fontsize of &quot;Question 1&quot;, &quot;Question 2&quot; bigger). I could not find the solution from the <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.barh.html#matplotlib.pyplot.barh" rel="nofollow noreferrer">documentation of barh</a>. Is it possible to do it. And if yes, where can the answer be found?</p>
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
   
  x = np.array([&quot;Question 1&quot;, &quot;Question 2&quot;, &quot;Question 3&quot;, &quot;Question 4&quot;])
  y = np.array([3, 8, 1, 10])
   
  plt.barh(x, y)
  plt.tight_layout()
  plt.show()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/hi5Rv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hi5Rv.png" alt="enter image description here" /></a></p>