title: How can I display and update two matplotlib plots in the same window at the same time? (Part 2)
body: <p>Continuation from this question: <a href="https://stackoverflow.com/questions/50943483/how-can-i-display-and-update-two-matplotlib-plots-in-the-same-window-at-the-same">How can I display and update two matplotlib plots in the same window at the same time?</a></p>
  
  <p>Previous solution hasn't fixed all plot updating issues. Though "plt" can be replaced with self.comparison_figure1 when using tight_layout(), the same cannot be done when using cla() to clear the plot. As a result my second graph will be cleared and updated when I choose other options from the dropdown menu, but the first graph won't be cleared and updated because "plt" no longer references to the first graph.</p>
  
  <p>Portion of Code where I'm using cla():</p>
  
  <pre><code>sns.set(style="whitegrid")
  plt.cla()
  ax = self.comparison_figure2.add_subplot(111)
  .....
  </code></pre>
  
  <p>I can post more code if you need it!</p>