title: How to groupby and plot groups in the same figure
body: <p>I have that code for plotting a chart:</p>
  <pre><code>destinations = ['JPA', 'FOR']
  
  for destiny in destinations:
  
      df_tmp = df[(df.DESTINY == destiny)]
      df_tmp['max'] = df_tmp.groupby('DAYS_UNTIL_DEPARTURE')['COST'].transform('max')
      df_tmp['min'] = df_tmp.groupby('DAYS_UNTIL_DEPARTURE')['COST'].transform('min')
  
      plt.figure(figsize=(10,2))
      sns.lineplot(x=&quot;DAYS_UNTIL_DEPARTURE&quot;, y=&quot;min&quot;, data=df_tmp, ci=None, palette=&quot;muted&quot;, label='min')
      sns.lineplot(x=&quot;DAYS_UNTIL_DEPARTURE&quot;, y=&quot;max&quot;, data=df_tmp, ci=None, palette=&quot;muted&quot;, label='max')
      plt.title(destiny , fontweight=&quot;bold&quot;, fontsize=16, pad=20)
      plt.ylabel('Cost')
      plt.show()
      
  </code></pre>
  <p>The code works pretty well.</p>
  <p>I would like to know how to plot the multiple charts on the same figure? In other words, two charts in one figure.</p>
  <p>I’ve been trying to subplot, but I wasn’t enabled to get the result expected.</p>
  <p>Thanks, thanks.</p>
  <p>Here is a sample of my data:</p>
  <pre class="lang-py prettyprint-override"><code>DAYS_UNTIL_DEPARTURE,DESTINY,COST
  10,JPA,100
  9,JPA,90
  8,JPA,85
  7,JPA,86
  6,JPA,87
  5,JPA,71
  4,JPA,90
  3,JPA,77
  2,JPA,88
  1,JPA,87
  0,JPA,74
  10,FOR,99
  9,FOR,90
  8,FOR,96
  7,FOR,79
  6,FOR,84
  5,FOR,74
  4,FOR,85
  3,FOR,74
  2,FOR,88
  1,FOR,100
  0,FOR,87
  </code></pre>