Open trueToastedCode opened 1 year ago
hey @trueToastedCode, to save you some time (which I spent digging into this), this issue has been addressed by this commit. Although it is not released, you can just install the most recent version of the library from here
I am getting the same issue on a large dataframe.
When I shrink the dataframe (~1,000 rows), I get a different error message: TypeError: bokeh.models.tools.Toolbar() got multiple values for keyword argument 'logo'
It seems with the latter issue I am also limited by the bokeh developers to release a bug fix.
I have Mac OS Ventura 13.5, M1 chip, Backtesting 0.3.3, Bokeh 3.2.2
To install latest version from repo instead of PYPI, please find instruction in here: https://github.com/kernc/backtesting.py/issues/987#issuecomment-1571602520
Expected Behavior
Plotting should work.
Actual Behavior
Fails, but only using large dataframe.
>>> bt.plot()
Steps to Reproduce
[ ! ] Error only occurs when using huge dataframe, in my case it had a length of 499197. Same code however worked when making it smaller.
Additional info
bokeh.__version__
: 2.4.3