title: replicate a ggplot plot functionality in seaborn
body: <p>I am doing a linear regression on a few timeseries (different colors) and plotting the equation on the same graph. In R using <code>ggplot</code> and <code>ggpubr</code> this is very easy. here is the example and the output:</p>
  <pre><code>library(tidyverse)
  library(ggpubr)
  economics_long %&gt;%
    ggplot(aes(date, value01, color = variable)) + 
    geom_line() + 
    theme_light() + 
    geom_smooth(method = &quot;lm&quot;, se = F) +
    stat_regline_equation(aes(label =  paste(..eq.label.., ..rr.label.., sep = &quot;~~~~&quot;)))
  </code></pre>
  <p><a href="https://i.stack.imgur.com/yzGIL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yzGIL.png" alt="enter image description here" /></a></p>
  <p>Is there a way to do this in python / <code>seaborn</code> without having to do the fit for each colour and making the equations by hand?</p>
  <p>If not <code>seaborn</code>, which python charting package allow us to do this easily? <code>plotly</code>, <code>plotnine</code>?</p>