title: How do I reduce chart size so that long axis text can be totally seen?
body: <p><a href="https://i.stack.imgur.com/Kyd2n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kyd2n.png" alt="enter image description here" /></a></p>
  <p>See how the x axis text falls out of the image?  I could reduce the size of the labels, but I'd rather reduce the size of the chart.  How do I do that?</p>
  <p>I've tried adjusting <code>x</code> and <code>y</code> for <code>fig, ax = plt.subplots(figsize=(x,y))</code>, and also tried <code>plt.figure(figsize(x,y))</code></p>
  <p>but all they seem to do is change the window size that pops up when I run the script.  When I maximize out the window I get the same problem.</p>
  <p>I've played with <code>plt.margins(x)</code> but that changes the margins inside of the chart when I want to change the chart itself.</p>