title: How to draw spline that is not connecting all points
body: <p>I'm trying to plot a massive amount of data with spline going through the points, it's should look like this.<a href="https://i.stack.imgur.com/idPM1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/idPM1.png" alt="enter image description here"></a></p>
  
  <p>But when I try to do it with plotly the spline insists going through all the points like this<a href="https://i.stack.imgur.com/UzjQO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UzjQO.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/s8ORp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s8ORp.png" alt="enter image description here"></a></p>
  
  <p>When the first image is only the data points and the second is the spline.</p>
  
  <p>The code i try is</p>
  
  <pre><code>dates = [dates_arr]
  x = dates.strftime("%Y-%m-%d")
  y = [data_points]
  xy_data = go.Scatter(x=x, y=y, mode='markers', marker=dict(size=4), 
  name='AAPL')
  
  mov_avg = go.Scatter(x=x, y=y, name="spline",text= 
  ["spline"],hoverinfo='text+name',line_shape='spline', line_smoothing = 1.3)    
  
  data = [xy_data, mov_avg]  
  
  py.iplot(data, filename='Spline fit')
  
  #################################
  first_plot_url = py.plot(data, filename='apple stock moving average', 
  auto_open=True, )
  </code></pre>
  
  <p>Does anyone have idea?</p>