MCPcopy Create free account
hub / github.com/kernc/backtesting.py / _add_popcon

Function _add_popcon

backtesting/_plotting.py:90–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88
89
90def _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
94def _watermark(fig: _figure):

Callers 1

_bokeh_resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected