title: How to reduce Plotly HTML size in Python?
body: <p>I am doing three plots:
  Line plot, Boxplot and Histogram.
  All these plots don't really need hoverinfo. Also these plots <strong>don't really need to plot each point of the data.</strong></p>
  <p><a href="https://i.stack.imgur.com/kGJ1e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kGJ1e.png" alt="Three plots" /></a></p>
  <p>Ass you can see the plots are very simple, however, when dealing with huge data (30 million of observations) the html results weights 5 MBs, which is a lot because there are 100 plots more like this.</p>
  <p>At the moment I have made some optimizations...</p>
  <ul>
  <li><p>When saving to html I put these parameters:</p>
  <p>fig.to_html( include_plotlyjs=&quot;cdn&quot;, full_html=False)</p>
  </li>
  </ul>
  <p><em>Which reduces plot size a lot, however <strong>is not enough</strong>.</em></p>
  <p>I have also tried in the Line plot specifying this parameter <code>line = {&quot;simplify&quot;:True}</code> and <code>hoverinfo = &quot;skip&quot;</code>. However, file size is almost the same.</p>
  <p>Any help/ workaround is appreciated</p>