title: How to show multiple timeseries plots using seaborn
body: <p>I'm trying to generate 4 plots from a DataFrame using Seaborn</p>
  
  <pre><code>Date        A       B       C       D
  2019-04-05  330.665 161.975 168.69  0
  2019-04-06  322.782 150.243 172.539 0
  2019-04-07  322.782 150.243 172.539 0
  2019-04-08  295.918 127.801 168.117 0
  2019-04-09  282.674 126.894 155.78  0
  2019-04-10  293.818 133.413 160.405 0
  </code></pre>
  
  <p>I have casted dates using pd.to_DateTime and numbers using pd.to_numeric. Here is the df.info():</p>
  
  <pre><code>&lt;class 'pandas.core.frame.DataFrame'&gt;
  Int64Index: 6 entries, 460 to 465
  Data columns (total 5 columns):
  Date  6 non-null datetime64[ns]
  A     6 non-null float64
  B     6 non-null float64
  C     6 non-null float64
  D     6 non-null float64
  dtypes: datetime64[ns](1), float64(4)
  memory usage: 288.0 bytes
  </code></pre>
  
  <p>I can do a wide column plot by just calling .plot() on df. </p>
  
  <p>However, </p>
  
  <ol>
  <li><p>The legend of the plot is covering the plot itself</p></li>
  <li><p>I would instead like to have 4 separate plots in 1 diagram and have tried  using lmplot to achieve this.</p></li>
  <li><p>I would like to add labels to the plot like so:</p>
  
  <p><a href="https://i.stack.imgur.com/4MEBK.png" rel="nofollow noreferrer">Plot with image</a></p></li>
  </ol>
  
  <p>I first melted the data:</p>
  
  <pre><code>df=pd.melt(df,id_vars='Date', var_name='Var', value_name='Unit')
  </code></pre>
  
  <p>And then tried lmplot</p>
  
  <pre><code>sns.lmplot(x = df['Date'], y='Unit', col='Var', data=df)
  </code></pre>
  
  <p>However, I get the traceback:</p>
  
  <pre><code>TypeError: Invalid comparison between dtype=datetime64[ns] and str
  </code></pre>
  
  <p>I have also tried setting df.set_index['Date'] and replotting that using x=df.index and that gave me the same error. </p>
  
  <p>The data can be plotted using Google Sheets but I am trying to automate a workflow where the chart can be generated and sent via Slack to selected recipients.</p>
  
  <p>I hope I have expressed myself clearly enough as I am rather new to Python and Seaborn and hope to get some help from the experts here.</p>