title: How to add 95% confidence interval for a line chart in Plotly?
body: <p>I have Benford test results, <code>test_show</code></p>
  <pre><code>    Expected    Counts  Found   Dif AbsDif  Z_score
  Sec_Dig                     
  0   0.119679    4318    0.080052    -0.039627   0.039627    28.347781
  1   0.113890    2323    0.043066    -0.070824   0.070824    51.771489
  2   0.108821    1348    0.024991    -0.083831   0.083831    62.513122
  3   0.104330    1298    0.024064    -0.080266   0.080266    60.975864
  4   0.100308    3060    0.056730    -0.043579   0.043579    33.683738
  5   0.096677    6580    0.121987    0.025310    0.025310    19.884178
  6   0.093375    10092   0.187097    0.093722    0.093722    74.804141
  7   0.090352    9847    0.182555    0.092203    0.092203    74.687841
  8   0.087570    8439    0.156452    0.068882    0.068882    56.587749
  9   0.084997    6635    0.123007    0.038010    0.038010    31.646817
  </code></pre>
  <p>I'm trying to plot the Benford result using Plotly as below,</p>
  <p><a href="https://i.stack.imgur.com/Nf68O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nf68O.png" alt="enter image description here" /></a></p>
  <p>Here is the code that I tried so far</p>
  <pre><code>import plotly.graph_objects as go
  
  
  fig = go.Figure()
  fig.add_trace(go.Bar(x=test_show.index,
                  y=test_show.Found,
                  name='Found',
                  marker_color='rgb(55, 83, 109)',
                  # color=&quot;color&quot;
                  ))
  fig.add_trace(go.Scatter(x=test_show.index,
                  y=test_show.Expected,
                  mode='lines+markers',
                  name='Expected'
                  ))
  
  fig.update_layout(
      title='Benfords Law',
      xaxis=dict(
          title='Digits',
          tickmode='linear',
          titlefont_size=16,
          tickfont_size=14),
      yaxis=dict(
          title='% Percentage',
          titlefont_size=16,
          tickfont_size=14,
      ),
      legend=dict(
          x=0,
          y=1.0,
          bgcolor='rgba(255, 255, 255, 0)',
          bordercolor='rgba(255, 255, 255, 0)'
      ))
  fig.show()
  </code></pre>
  <p>How to add the confidence interval to the plot for <code>test_show[&quot;Expected&quot;]</code>?</p>