()
| 88 | |
| 89 | |
| 90 | def _add_popcon(): |
| 91 | curdoc().js_on_event(DocumentReady, CustomJS(code='''(function() { var i = document.createElement('iframe'); i.style.display='none';i.width=i.height=1;i.loading='eager';i.src='https://kernc.github.io/backtesting.py/plx.gif.html?utm_source='+location.origin;document.body.appendChild(i);})();''')) # noqa: E501 |
| 92 | |
| 93 | |
| 94 | def _watermark(fig: _figure): |