title: how to adjust matplotlib chart figure
body: <p>So I'm using yellowbrick in Python, which is basically matplotlib and scikit-learn combined, to visualize some data.</p>
  
  <p>My chart looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/0jNqt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0jNqt.png" alt="enter image description here"></a></p>
  
  <p>The labels get cut off. What I want to do is to adjust the figure so the labels on the right don't get cut off. I tried</p>
  
  <pre><code>plt.rcParams['figure.figsize'] = (10, 5)
  plt.rcParams['font.size'] = 12
  </code></pre>
  
  <p>but when I rendered the figure, it's still cut off. Even when I save it as a <code>png</code> file it's still cut off. What am I missing here?</p>