title: How to change type of line in prophet plot?
body: <p>Facebook's Prophet in R (there's also a Python version) is used to generate time series forecasts.</p>
  
  <p>A model <code>m</code> is created by:</p>
  
  <pre><code>m &lt;- prophet(df)
  future &lt;- make_future_dataframe(m, periods = 365)
  forecast &lt;- predict(m, future)
  plot(m, forecast)
  </code></pre>
  
  <p>Which returns a very nicely formatted graph, like:</p>
  
  <p><a href="https://i.stack.imgur.com/cM2xS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cM2xS.png" alt="enter image description here"></a></p>
  
  <p>I would like to change the line type, to get not dots but a usual thin line.</p>
  
  <p>I had tried this</p>
  
  <pre><code>lines(m$history$y,lty=1)
  </code></pre>
  
  <p>but got an error </p>
  
  <pre><code> In doTryCatch(return(expr), name, parentenv, handler)
  </code></pre>
  
  <p>Are there are any suggestions how to convert those dots into a line?</p>